Debian Codegraph @

debian/postinst

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