mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-18 03:26:48 +00:00
Changes: - Add license of manpages to copyright - Change way to handle config file (config.json) - Add lintian-overrides - Rename/Update docs and install file
23 lines
344 B
Bash
23 lines
344 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
purge)
|
|
rm -f /etc/shadowsocks-libev/config.json
|
|
test -f /etc/shadowsocks-libev/* \
|
|
|| rm -r /etc/shadowsocks-libev/
|
|
;;
|
|
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
|
exit 0
|
|
;;
|
|
*)
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|