mirror of https://github.com/alibaba/tengine.git
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.
21 lines
375 B
21 lines
375 B
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
purge)
|
|
rm -rf /var/cache/nginx /var/log/nginx /etc/nginx
|
|
;;
|
|
remove)
|
|
rm -rf /var/cache/nginx /var/log/nginx
|
|
;;
|
|
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
|
;;
|
|
*)
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|