preinst.ex 688 B

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