Debian Codegraph @

debian/postrm

raw
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6 remove|purge)
7 if dictdconfig --version >/dev/null 2>/dev/null; then dictdconfig -w; fi
8 if [ -x /etc/init.d/dictd ]; then invoke-rc.d dictd restart; fi
9
10 exit 0
11 ;;
12
13
14 upgrade|abort-upgrade|abort-remove|abort-deconfigure|in-favour|removing)
15 exit 0;
16 ;;
17
18 *)
19 echo "postinst called with unknown argument \`$1'" >&2;
20 exit 0;
21 ;;
22 esac
23
24 # dh_installdeb will replace this with shell code automatically
25 # generated by other debhelper scripts.
26
27 #DEBHELPER#
28
29 exit 0