This file is indexed.

preinst is in icewm-common 1.4.3.0~pre-20180217-3.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /bin/sh -e



case "$1" in
    install|upgrade)
	if [ -n "$2" ] && dpkg --compare-versions "$2" lt "1.2.21+1.2.22pre1-1"
  then
      # remove known deprecated stuff
      md5sum /etc/gdm/Sessions/IceWM* 2>/dev/null | \
      while read sum file ; do \
         case $sum in d86142d41ded68895123a8f3faf0e8d6|\
            3a803b511c1a62cfb6788d253b6fc2eb|b8e153b68ed4c0a4ce6e0d55f2e12448|\
            9b8c9c0b308cf3b5751d7740e62caf59|4d3c84fa5c7254f18c669f6f5d86fb71|\
            243467a510c14fbb42291e7f6bb1d57e|f2ea8361ffe954fe429acb48362e1743|\
            84ff63904692c206bddf2254445a6523) rm "$file"
            ;;
         esac
      done
  fi
	if [ -n "$2" ] && dpkg --compare-versions "$2" lt "1.3.8+githubmod+20160825"
  then
      md5sum /etc/X11/icewm/* 2>/dev/null | \
      while read sum file ; do \
         case $sum in
018d7822242b186ea7766624313d5975|04e2d45018e192d93e53bdfe314e79c1|1039e3b5f23324794ed28c1ab614f85b|417eced0f2cb1b555263655c6812848c|5129416a291913c72c33d466e4f40b2f|58a261e344e291180f3ee3d89efeb154|5a6cbf67416a63c7ff9395097973a181|767f5e1ed3f3021346296c43bbb746c2|76eecabd19a833187a321a7b893fdd84|7a7f6f6aac4ebbeee76f06bf59ddcb09|803331a16936b53ab8c8daf607c12935|c234d7969cfae77033675d266f26dfc7|cadf04597479a9a2a48720e1db8b5a9a|dc6424aa3d65de9068360601fcfd70e2|4cdb19fe468bfd61310185c682f942df|04e2d45018e192d93e53bdfe314e79c1|1dc21fde2ac4ad0d2aa7f8767d477d60|4d0547bfa3bfbdd57db85774011fab4e|b47078ed7ca860948a01600695556559)
               rm "$file"
            ;;
         esac
      done
  fi
  ;;
  
esac

exit 0