~jdstrand/click-apparmor/apparmor-profile

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Jamie Strandboge
  • Date: 2014-11-25 16:38:07 UTC
  • Revision ID: jamie@ubuntu.com-20141125163807-yc2kp1pnib70qivv
* debian/postrm: remove md5sum file on purge
* add ubuntu-core-15.04 framework and adjust tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
dpkg-maintscript-helper rm_conffile /etc/init.d/click-apparmor 0.2.6 -- "$@"
5
5
dpkg-maintscript-helper rm_conffile /etc/init/click-apparmor.conf 0.2.6 -- "$@"
6
6
 
 
7
case "$1" in
 
8
    purge)
 
9
        fn="/var/lib/apparmor/profiles/.click-apparmor.md5sums"
 
10
        if [ -e "$fn" ]; then
 
11
            rm -f "$fn"
 
12
        fi
 
13
        ;;
 
14
    abort-install|abort-upgrade|remove|upgrade|failed-upgrade|disappear)
 
15
        ;;
 
16
    *)
 
17
        echo "postrm called with unknown argument \`$1'" >&2
 
18
        exit 1
 
19
        ;;
 
20
esac
 
21
 
7
22
#DEBHELPER#
8