projects
/
mod-proxy-fdpass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move to proxy_fdpass2 name plugin to avoid clash names
[mod-proxy-fdpass.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
e3cf6f7
..
da6d769
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-1,5
+1,5
@@
#! /bin/sh
#! /bin/sh
-# postinst script for libapache2-mod-proxy-fdpass
+# postinst script for libapache2-mod-proxy-fdpass
2
#
# see: dh_installdeb(1)
#
# see: dh_installdeb(1)
@@
-31,18
+31,18
@@
case "$1" in
configure)
# Reload the module on upgrade if enabled
if [ -n "$2" ]; then
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_fdpass
2
.load ]; then
# We must reenable this module to enable the new configuration file
if dpkg --compare-versions "$2" lt "3.0.0-1" ; 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_fdpass
2 >/dev/null || true
+ a2enmod proxy_fdpass
2 >/dev/null || true
fi
reload_apache
fi
else
# Enable the module
if [ -e /etc/apache2/apache2.conf ]; then
fi
reload_apache
fi
else
# Enable the module
if [ -e /etc/apache2/apache2.conf ]; then
- a2enmod proxy_fdpass >/dev/null || true
+ a2enmod proxy_fdpass
2
>/dev/null || true
reload_apache
fi
fi
reload_apache
fi
fi