Apache 2.4 changes

This commit is contained in:
Roland Gruber 2013-07-19 21:06:13 +00:00
parent 163cd79b82
commit f2d9643a41
2 changed files with 5 additions and 5 deletions

View File

@ -86,10 +86,10 @@ if [ "$1" = "configure" ]; then
fi
if [ -d /etc/$server/conf-available ]; then
if [ ! -e /etc/$server/conf-available/ldap-account-manager ]; then
ln -s /etc/ldap-account-manager/apache.conf /etc/$server/conf-available/ldap-account-manager
ln -s /etc/ldap-account-manager/apache.conf /etc/$server/conf-available/ldap-account-manager.conf
fi
if [ ! -e /etc/$server/conf-enabled/ldap-account-manager ]; then
ln -s ../conf-available/ldap-account-manager /etc/$server/conf-enabled/ldap-account-manager
if [ ! -e /etc/$server/conf-enabled/ldap-account-manager.conf ]; then
ln -s ../conf-available/ldap-account-manager.conf /etc/$server/conf-enabled/ldap-account-manager.conf
fi
restart="$restart $server"
fi

View File

@ -22,8 +22,8 @@ if [ -f /usr/share/debconf/confmodule ]; then
case "$server" in
apache2)
rm -f /etc/$server/conf.d/ldap-account-manager
rm -f /etc/$server/conf-available/ldap-account-manager
rm -f /etc/$server/conf-enabled/ldap-account-manager
rm -f /etc/$server/conf-available/ldap-account-manager.conf
rm -f /etc/$server/conf-enabled/ldap-account-manager.conf
test -x /usr/sbin/$server || continue
restart="$restart $server"
;;