2 # postinst script for libapache-mod-suphp
4 # see: dh_installdeb(1)
8 # summary of how this script can be called:
9 # * <postinst> `configure' <most-recently-configured-version>
10 # * <old-postinst> `abort-upgrade' <new version>
11 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
13 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
14 # <failed-install-package> <version> `removing'
15 # <conflicting-package> <version>
16 # for details, see http://www.debian.org/doc/debian-policy/ or
17 # the debian-policy package
23 # we're upgrading. don't ask again
26 if [ -x /usr/sbin/apache-modconf ]; then
27 for i in apache apache-perl apache-ssl; do
28 if [ -e /etc/$i/httpd.conf ]; then
29 apache-modconf $i enable mod_suphp
35 abort-upgrade|abort-remove|abort-deconfigure)
40 echo "postinst called with unknown argument \`$1'" >&2
45 # dh_installdeb will replace this with shell code automatically
46 # generated by other debhelper scripts.