prerm is in php5-dev 5.4.45-0+deb7u2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -e
if [ "$1" != "remove" -a "$1" != "purge" ]; then
exit 0
fi
for i in php-config phpize; do
update-alternatives --remove $i /usr/bin/"$i"5
done
exit 0
|