postrm.ex 928 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/bin/sh
  2. # postrm script for cvm
  3. #
  4. # see: dh_installdeb(1)
  5. set -e
  6. # summary of how this script can be called:
  7. # * <postrm> `remove'
  8. # * <postrm> `purge'
  9. # * <old-postrm> `upgrade' <new-version>
  10. # * <new-postrm> `failed-upgrade' <old-version>
  11. # * <new-postrm> `abort-install'
  12. # * <new-postrm> `abort-install' <old-version>
  13. # * <new-postrm> `abort-upgrade' <old-version>
  14. # * <disappearer's-postrm> `disappear' <overwriter>
  15. # <overwriter-version>
  16. # for details, see http://www.debian.org/doc/debian-policy/ or
  17. # the debian-policy package
  18. case "$1" in
  19. purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  20. ;;
  21. *)
  22. echo "postrm called with unknown argument \`$1'" >&2
  23. exit 1
  24. ;;
  25. esac
  26. # dh_installdeb will replace this with shell code automatically
  27. # generated by other debhelper scripts.
  28. #DEBHELPER#
  29. exit 0