diff --git a/debian/php-common.postrm b/debian/php-common.postrm new file mode 100644 index 0000000..63d3ce6 --- /dev/null +++ b/debian/php-common.postrm @@ -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