Purge /var/lib/php on php-common removal

This commit is contained in:
Ondřej Surý 2015-07-29 11:27:10 +02:00
parent 1f2599e885
commit beb5966892

24
debian/php-common.postrm vendored Normal file
View file

@ -0,0 +1,24 @@
#!/bin/sh
# postrm script for php-common
#
# see: dh_installdeb(1)
set -e
case "$1" in
purge)
rm -rf /var/lib/php
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0