postrm is in javascript-common 8.
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 16 17 18 19 20 21 22 23 24 25 | #!/bin/sh
set -e
if [ -L /etc/apache2/conf.d/javascript-common.conf ]
then
rm -f /etc/apache2/conf.d/javascript-common.conf
restart="apache2"
fi
if [ -L /etc/lighttpd/conf-enabled/90-javascript-alias.conf ]
then
rm -f /etc/lighttpd/conf-enabled/90-javascript-alias.conf
restart="lighttpd"
fi
if [ -e /usr/share/wwwconfig-common/restart.sh ]
then
servers="apache2 lighttpd"
. /usr/share/wwwconfig-common/restart.sh
fi
exit 0
|