enable version module
This commit is contained in:
parent
d47b7fd080
commit
36d216c935
|
@ -69,16 +69,21 @@ if [ "$1" = "configure" ]; then
|
|||
if [ ! -f /etc/$server/mods-enabled/actions.load -a ! -h /etc/$server/mods-enabled/actions.load ]; then
|
||||
ln -s /etc/$server/mods-available/actions.load /etc/$server/mods-enabled/actions.load
|
||||
fi
|
||||
if [ -f /etc/apache2/mods-available/php5.load ]; then
|
||||
if [ -f /etc/$server/mods-available/php5.load ]; then
|
||||
if [ ! -f /etc/$server/mods-enabled/php5.load -a ! -h /etc/$server/mods-enabled/php5.load ]; then
|
||||
ln -s /etc/$server/mods-available/php5.load /etc/$server/mods-enabled/php5.load
|
||||
fi
|
||||
fi
|
||||
if [ -f /etc/apache2/mods-available/php5.conf ]; then
|
||||
if [ -f /etc/$server/mods-available/php5.conf ]; then
|
||||
if [ ! -f /etc/$server/mods-enabled/php5.conf -a ! -h /etc/$server/mods-enabled/php5.conf ]; then
|
||||
ln -s /etc/$server/mods-available/php5.conf /etc/$server/mods-enabled/php5.conf
|
||||
fi
|
||||
fi
|
||||
if [ -f /etc/$server/mods-available/version.load ]; then
|
||||
if [ ! -f /etc/$server/mods-enabled/version.load -a ! -h /etc/$server/mods-enabled/version.load ]; then
|
||||
ln -s /etc/$server/mods-available/version.load /etc/$server/mods-enabled/version.load
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ -d /etc/$server/conf.d -a ! -e /etc/$server/conf.d/ldap-account-manager ]; then
|
||||
ln -s /etc/ldap-account-manager/apache.conf /etc/$server/conf.d/ldap-account-manager
|
||||
|
|
Loading…
Reference in New Issue