2 # preinst script for inform-mode
4 # see: dh_installdeb(1)
8 # summary of how this script can be called:
9 # * <new-preinst> `install'
10 # * <new-preinst> `install' <old-version>
11 # * <new-preinst> `upgrade' <old-version>
12 # * <old-preinst> `abort-upgrade' <new-version>
14 # For details see /usr/share/doc/packaging-manual/
18 # if [ "$1" = "upgrade" ]
20 # start-stop-daemon --stop --quiet --oknodo \
21 # --pidfile /var/run/inform-mode.pid \
22 # --exec /usr/sbin/inform-mode 2>/dev/null || true
30 echo "preinst called with unknown argument \`$1'" >&2
35 # dh_installdeb will replace this with shell code automatically
36 # generated by other debhelper scripts.