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 977B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/sh
  2. # prerm script for snf-server-postfix.
  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. case "$1" in
  17. remove|upgrade|deconfigure)
  18. # Remove integration with postfix or sendmail.
  19. /usr/sbin/SNFServerConfig -with=none
  20. ;;
  21. failed-upgrade)
  22. ;;
  23. *)
  24. echo "prerm called with unknown argument \`$1'" >&2
  25. exit 1
  26. ;;
  27. esac
  28. # dh_installdeb will replace this with shell code automatically
  29. # generated by other debhelper scripts.
  30. #DEBHELPER#
  31. exit 0