X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=mod-proxy-fdpass.git;a=blobdiff_plain;f=debian%2Fpostinst;h=da6d769c5460c4d5fd69e094082e4a1b8a260720;hp=e3cf6f7c7a5cedb28e2432d90e345bf6de7f3914;hb=a10c60232480678fdc9ea2314df64e0655eb169b;hpb=34a20c86b2a1e8b901cdf1e8583e261dea69b80b diff --git a/debian/postinst b/debian/postinst index e3cf6f7..da6d769 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,5 +1,5 @@ #! /bin/sh -# postinst script for libapache2-mod-proxy-fdpass +# postinst script for libapache2-mod-proxy-fdpass2 # # see: dh_installdeb(1) @@ -31,18 +31,18 @@ case "$1" in configure) # Reload the module on upgrade if enabled if [ -n "$2" ]; then - if [ -e /etc/apache2/mods-enabled/proxy_fdpass.load ]; then + if [ -e /etc/apache2/mods-enabled/proxy_fdpass2.load ]; then # We must reenable this module to enable the new configuration file if dpkg --compare-versions "$2" lt "3.0.0-1" ; then - a2dismod proxy_fdpass >/dev/null || true - a2enmod proxy_fdpass >/dev/null || true + a2dismod proxy_fdpass2 >/dev/null || true + a2enmod proxy_fdpass2 >/dev/null || true fi reload_apache fi else # Enable the module if [ -e /etc/apache2/apache2.conf ]; then - a2enmod proxy_fdpass >/dev/null || true + a2enmod proxy_fdpass2 >/dev/null || true reload_apache fi fi