1
0

preinst 934 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #! /bin/sh
  2. # preinst script for libphysfs0
  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. #
  12. # for details, see http://www.debian.org/doc/debian-policy/ or
  13. # the debian-policy package
  14. case "$1" in
  15. install|upgrade)
  16. # if [ "$1" = "upgrade" ]
  17. # then
  18. # start-stop-daemon --stop --quiet --oknodo \
  19. # --pidfile /var/run/libphysfs0.pid \
  20. # --exec /usr/sbin/libphysfs0 2>/dev/null || true
  21. # fi
  22. ;;
  23. abort-upgrade)
  24. ;;
  25. *)
  26. echo "preinst called with unknown argument \`$1'" >&2
  27. exit 1
  28. ;;
  29. esac
  30. # dh_installdeb will replace this with shell code automatically
  31. # generated by other debhelper scripts.
  32. #DEBHELPER#
  33. exit 0