~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to debian/lxc.postrm

  • Committer: St√©phane Graber
  • Date: 2012-05-29 19:49:24 UTC
  • Revision ID: stgraber@ubuntu.com-20120529194924-uxcesqolojoxwbjx
Silence postinst

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
case "$1" in
23
23
    purge)
24
 
        rm -f /etc/apparmor.d/lxc/lxc-default || true
25
 
        rm -f /etc/apparmor.d/lxc/lxc-default-with-nesting || true
26
 
        rmdir /etc/apparmor.d/lxc || true
27
 
        rmdir /etc/apparmor.d/lxc-containers || true
 
24
        rm -f /etc/apparmor.d/lxc/lxc-default 2>/dev/null || true
 
25
        rm -f /etc/apparmor.d/lxc/lxc-default-with-nesting 2>/dev/null || true
 
26
        rmdir /etc/apparmor.d/lxc 2>/dev/null || true
 
27
        rmdir /etc/apparmor.d/lxc-containers 2>/dev/null || true
28
28
 
29
 
        rm -f /etc/dnsmasq.d/lxc || true
 
29
        rm -f /etc/dnsmasq.d/lxc 2>/dev/null || true
30
30
    ;;
31
31
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
32
32
    ;;