您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/sh
  2. # prerm script for snf-server
  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 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