Merge Debian packaging for release “1.5.6-1”.
[debian_inform6-mode.git] / debian / preinst.ex
blob88a8e47d12f28f621b896fb4d82bc70f50d603d9
1 #! /bin/sh
2 # preinst script for inform-mode
4 # see: dh_installdeb(1)
6 set -e
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/
16 case "$1" in
17 install|upgrade)
18 # if [ "$1" = "upgrade" ]
19 # then
20 # start-stop-daemon --stop --quiet --oknodo \
21 # --pidfile /var/run/inform-mode.pid \
22 # --exec /usr/sbin/inform-mode 2>/dev/null || true
23 # fi
26 abort-upgrade)
30 echo "preinst called with unknown argument \`$1'" >&2
31 exit 0
33 esac
35 # dh_installdeb will replace this with shell code automatically
36 # generated by other debhelper scripts.
38 #DEBHELPER#
40 exit 0