prerm.ex 883 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/bin/sh
  2. # prerm script for @hybridapp@
  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. ;;
  19. failed-upgrade)
  20. ;;
  21. *)
  22. echo "prerm 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