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

« back to all changes in this revision

Viewing changes to debian/apparmor.prerm

  • 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:
15
15
# for details, see http://www.debian.org/doc/debian-policy/ or
16
16
# the debian-policy package
17
17
 
18
 
# On kernel upgrade, the apparmor init script loses its mind because the
19
 
# apparmor modules haven't been loaded.  Ignore this, so that package
20
 
# upgrades or uninstalls don't fail.
21
 
ignore_apparmor_init_failure()
22
 
{
23
 
    echo ""
24
 
    echo "  The apparmor init script failed.  Perhaps the apparmor modules"
25
 
    echo "  need to be rebuilt?  Try the following:"
26
 
    echo "    apt-get install apparmor-modules-source"
27
 
    echo "    m-a -v -t prepare"
28
 
    echo "    m-a -v -t -f build apparmor-modules"
29
 
    echo "    m-a -v -t -f install apparmor-modules"
30
 
    echo ""
31
 
    true
32
 
}
33
 
 
34
18
# dh_installdeb will replace this with shell code automatically
35
19
# generated by other debhelper scripts.
36
20