Debian Codegraph @

debian/perlindex.postrm

raw
1 #! /bin/sh
2
3 set -e
4
5 case "$1" in
6 purge)
7 if [ -f /usr/share/debconf/confmodule ]; then
8 . /usr/share/debconf/confmodule
9
10 db_get perlindex/removeindexonpurge
11
12 if [ "$RET" = true ]; then
13 rm -f /var/cache/perlindex/index_fn \
14 /var/cache/perlindex/index_idf \
15 /var/cache/perlindex/index_if \
16 /var/cache/perlindex/index_if.new \
17 /var/cache/perlindex/index_seen
18 fi
19 fi
20 ;;
21
22 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
23
24 ;;
25
26 *)
27 echo "postinst called with unknown argument \`$1'" >&2
28 exit 1
29 ;;
30 esac
31
32 # dh_installdeb will replace this with shell code automatically
33 # generated by other debhelper scripts.
34
35 #DEBHELPER#
36
37 exit 0