Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 536 Bytes
#!/bin/sh
set -e
#DEBHELPER#
case "$1" in
purge)
# remove the flag file rather than just not creating it
if [ -e /etc/php5/apache2filter/.start ]; then
rm -f /etc/php5/apache2filter/.start
fi
a2dismod php5filter || true
;;
remove)
if [ -e /etc/apache2/apache2.conf -a -e /etc/apache2/mods-enabled/php5.load ]; then
# set a flag to remember the original state
# useful when reinstalling the same version.
touch /etc/php5/apache2filter/.start
fi
a2dismod php5filter || true
;;
esac
exit 0
Jump to Line
Something went wrong with that request. Please try again.