Debian Codegraph @

debian/sysv-rc.preinst

raw
1 #! /bin/sh
2 # preinst script for sysv-rc
3
4 set -e
5
6 # summary of how this script can be called:
7 # * <new-preinst> `install'
8 # * <new-preinst> `install' <old-version>
9 # * <new-preinst> `upgrade' <old-version>
10 # * <old-preinst> `abort-upgrade' <new-version>
11
12 case "$1" in
13 upgrade)
14 # Remove the recorded update-rc.d
15 rm -f /var/lib/update-rc.d/*
16 ;;
17 install)
18 ;;
19
20 abort-upgrade)
21 ;;
22
23 *)
24 echo "preinst called with unknown argument \`$1'" >&2
25 exit 0
26 ;;
27 esac
28
29 #DEBHELPER#
30
31 exit 0