File: apsfilter.postrm

package info (click to toggle)
apsfilter 7.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,356 kB
  • sloc: sh: 452; ansic: 236; perl: 175; makefile: 124
file content (20 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -eu

case "$1" in
    purge)
        # These are not handled by dpkg(8) itself since that would result in
        # spurious `directory not empty so not removed' warnings.
        rm -rf /etc/apsfilter /var/lib/apsfilter
        ;;
    remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear) ;;

    *)
        echo "postrm called with unknown argument '$1'" >&2
        exit 1
        ;;
esac

#DEBHELPER#
exit 0