You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
525 B

  1. #!/bin/sh
  2. set -e
  3. case "$1" in
  4. purge)
  5. rm -f /etc/shadowsocks-libev/config.json
  6. if test ! -e /etc/shadowsocks-libev ; then
  7. # If the config directory does not exist, do nothing
  8. :
  9. else
  10. if test -d /etc/shadowsocks-libev ; then
  11. # If it is an empty directory, remove it
  12. rmdir /etc/shadowsocks-libev || true
  13. fi
  14. fi
  15. ;;
  16. remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  17. exit 0
  18. ;;
  19. *)
  20. echo "postrm called with unknown argument \`$1'" >&2
  21. exit 0
  22. ;;
  23. esac
  24. #DEBHELPER#
  25. exit 0