php-defaults/debian/php-cgi.prerm

13 lines
240 B
Bash

#!/bin/sh
set -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --remove php-cgi /usr/bin/php-cgi.default
update-alternatives --remove php-cgi-bin /usr/lib/cgi-bin/php.default
fi
#DEBHELPER#
exit 0