You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prerm 864B

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/sh
  2. # prerm script for postsrsd
  3. #
  4. # see: dh_installdeb(1)
  5. set -e
  6. # summary of how this script can be called:
  7. # * <prerm> `remove'
  8. # * <old-prerm> `upgrade' <new-version>
  9. # * <new-prerm> `failed-upgrade' <old-version>
  10. # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
  11. # * <deconfigured's-prerm> `deconfigure' `in-favour'
  12. # <package-being-installed> <version> `removing'
  13. # <conflicting-package> <version>
  14. # for details, see http://www.debian.org/doc/debian-policy/ or
  15. # the debian-policy package
  16. if [ "$1" = "remove" -o "$1" = "deconfigure" ]
  17. then
  18. if [ -x /sbin/apparmor_parser ]
  19. then
  20. apparmor_parser -R /etc/apparmor.d/usr.sbin.postsrsd || true
  21. fi
  22. fi
  23. # dh_installdeb will replace this with shell code automatically
  24. # generated by other debhelper scripts.
  25. #DEBHELPER#
  26. exit 0