2 # postrm script for aiccu
8 # This package is being removed, but its configuration has not yet
14 # This package has previously been removed and is now having
15 # its configuration purged from the system.
18 # we mimic dpkg as closely as possible, so we remove configuration
19 # files with dpkg backup extensions too:
20 ### Some of the following is from Tore Anderson:
21 for ext
in '~' '%' .bak .ucf-new .ucf-old .ucf-dist
; do
22 rm -f /etc
/aiccu.conf
$ext
25 # remove the configuration file itself
28 # and finally clear it out from the ucf database
29 if which ucf
>/dev
/null
; then
30 ucf
--purge /etc
/aiccu.conf
32 if which ucfr
>/dev
/null
; then
33 ucfr
--purge aiccu
/etc
/aiccu.conf
38 upgrade|failed-upgrade|abort-install|abort-upgrade|disappear
)
42 echo "postrm called with unknown argument \`$1'" >&2
47 # dh_installdeb will replace this with shell code automatically
48 # generated by other debhelper scripts.