ncurses-base.preinst 272 B

1234567891011121314151617181920212223242526
  1. #!/bin/sh
  2. set -e
  3. case "${1}" in
  4. install|upgrade)
  5. if [ -L /usr/share/doc/ncurses-base ]
  6. then
  7. rm -f /usr/share/doc/ncurses-base
  8. fi
  9. ;;
  10. abort-upgrade)
  11. ;;
  12. *)
  13. echo "preinst called with unknown argument \`${1}'" >&2
  14. exit 1
  15. ;;
  16. esac
  17. #DEBHELPER#
  18. exit 0