postrm 472 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. set -e
  3. case "$1" in
  4. purge)
  5. if [ -x "$(command -v deluser)" ]; then
  6. deluser --quiet --system quicktun > /dev/null || true
  7. deluser --group --system --quiet --only-if-empty quicktun || true
  8. else
  9. echo "not removing quicktun system account and group because deluser command was not found" >&2
  10. fi
  11. ;;
  12. remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  13. ;;
  14. *)
  15. echo "postrm called with unknown argument \`$1'" >&2
  16. exit 1
  17. esac