~ubuntu-branches/ubuntu/natty/openldap/natty-security

« back to all changes in this revision

Viewing changes to debian/slapd.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-08-06 15:08:55 UTC
  • Revision ID: james.westby@ubuntu.com-20100806150855-dgiwotxm1gqwgy71
Tags: 2.4.23-0ubuntu2
* convert to using dh_apparmor:
  - debian/rules, debian/slapd.post{inst,rm}: use dh_apparmor
  - debian/control: Build-Depends on debhelper 7.4.20ubuntu5
* debian/apparmor-profile: use local include

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
 
117
117
db_stop || true
118
118
 
119
 
# Reload AppArmor profile
120
 
profile="/etc/apparmor.d/usr.sbin.slapd"
121
 
if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then
122
 
        apparmor_parser -r "$profile" || true
123
 
fi
124
 
 
125
119
#DEBHELPER#
126
120
 
127
121
exit 0