diff options
author | Sean Finney <seanius@debian.org> | 2008-08-20 19:32:02 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2009-04-10 13:24:02 +0200 |
commit | 7c779c2d4d8b9e347bf65b316008c47ad6d71705 (patch) | |
tree | 04e4e849588f2fde5de51eac410a14940e4a12ca /debian/libapache2-mod-php5.postinst | |
parent | 0ea6eede15a414c68e95b49ae7fe05a01907c557 (diff) | |
download | php-debian/5.2.6-3.tar.gz |
Imported Debian patch 5.2.6-3debian/5.2.6-3
Diffstat (limited to 'debian/libapache2-mod-php5.postinst')
-rw-r--r-- | debian/libapache2-mod-php5.postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/libapache2-mod-php5.postinst b/debian/libapache2-mod-php5.postinst index 3a9ac5168..bea59d5c3 100644 --- a/debian/libapache2-mod-php5.postinst +++ b/debian/libapache2-mod-php5.postinst @@ -41,6 +41,10 @@ reload_apache() } if [ -n "$2" ]; then + # recover the previous state + if [ -e /etc/php5/apache2/.start ]; then + a2enmod php5 >/dev/null || true + fi # we're upgrading. test if we're enabled, and if so, restart to reload the module. if [ -e /etc/apache2/mods-enabled/php5.load ]; then reload_apache |