~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to debian/apparmor-profiles.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# postrm script for apparmor-profiles
 
3
#
 
4
# see: dh_installdeb(1)
 
5
set -e
 
6
 
 
7
case "$1" in
 
8
    purge)
 
9
        if [ -e /etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser ]; then
 
10
            rm -f /etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser
 
11
        fi
 
12
        ;;
 
13
    remove|upgrade|failed-upgrade|disappear)
 
14
        ;;
 
15
    *)
 
16
        echo "postrm called with unknown argument \`$1'" >&2
 
17
        exit 1
 
18
        ;;
 
19
esac
 
20
 
 
21
# dh_installdeb will replace this with shell code automatically
 
22
# generated by other debhelper scripts.
 
23
 
 
24
#DEBHELPER#
 
25
 
 
26
exit 0