Debian Codegraph @

debian/apt-offline.postinst

raw
1 #!/bin/sh
2 # postinst script for apt-offline
3
4 set -e
5
6 # summary of how this script can be called:
7 # * <postinst> `configure' <most-recently-configured-version>
8 # * <old-postinst> `abort-upgrade' <new version>
9 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
10 # <new-version>
11 # * <postinst> `abort-remove'
12 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
13 # <failed-install-package> <version> `removing'
14 # <conflicting-package> <version>
15 # for details, see http://www.debian.org/doc/debian-policy/ or
16 # the debian-policy package
17
18
19 case "$1" in
20 configure)
21 dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/apt-offline -- "$@"
22 ;;
23
24 abort-upgrade|abort-remote|abort-deconfigure)
25 ;;
26
27 *)
28 echo "postinst called with unknown argument \`$1'" >&2
29 exit 1
30 ;;
31 esac
32
33 #DEBHELPER#
34
35 exit 0