Use old template name to fool links
This commit is contained in:
parent
9dac24287e
commit
53d0c05751
|
@ -5,9 +5,9 @@
|
|||
<file filelist='lemonng' name='/etc/lemonldap-ng/manager-nginx.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemonng' name='/etc/lemonldap-ng/handler-nginx.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemonng' name='/etc/lemonldap-ng/portal-nginx.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemona2' name='/etc/lemonldap-ng/manager-apache2.4.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemona2' name='/etc/lemonldap-ng/handler-apache2.4.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemona2' name='/etc/lemonldap-ng/portal-apache2.4.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemona2' name='/etc/lemonldap-ng/manager-apache2.conf' source='manager-apache2.4.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemona2' name='/etc/lemonldap-ng/handler-apache2.conf' source='handler-apache2.4.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemona2' name='/etc/lemonldap-ng/portal-apache2.conf' source='portal-apache2.4.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='lemon' name='/etc/lemonldap-ng/lemonldap-ng.ini' mkdir='True' rm='True'/>
|
||||
<file filelist='lemon' name='/var/lib/lemonldap-ng/conf/lmConf-1.json' mkdir='True' rm='True'/>
|
||||
<file filelist='lemonCAS' name='/usr/share/php/configCAS/cas.inc.php' source='cas.inc.php.tmpl' mkdir='True'/>
|
||||
|
|
|
@ -16,14 +16,14 @@ do
|
|||
if [ -L /etc/nginx/sites-enabled/${SERVICE}-nginx.conf ];then
|
||||
rm /etc/nginx/sites-enabled/${SERVICE}-nginx.conf
|
||||
fi
|
||||
if [ -L /etc/apache2/sites-enabled/${SERVICE}-apache2.4.conf ];then
|
||||
a2dissite ${SERVICE}-apache2.4
|
||||
if [ -L /etc/apache2/sites-enabled/${SERVICE}-apache2.conf ];then
|
||||
a2dissite ${SERVICE}-apache2
|
||||
fi
|
||||
if [ "${ENABLE}" = 'oui' ];then
|
||||
if [ "${SERVER}" = 'nginx' ];then
|
||||
ln -s /etc/nginx/sites-available/${SERVICE}-nginx.conf /etc/nginx/sites-enabled/${SERVICE}-nginx.conf
|
||||
elif [ "${SERVER}" = 'apache2' ];then
|
||||
a2ensite ${SERVICE}-apache2.4.conf
|
||||
a2ensite ${SERVICE}-apache2.conf
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue