Update yunohost_tools.py

This commit is contained in:
Alexis Gavoty 2013-06-01 10:40:28 +02:00
parent 4ca2abfde6
commit 1c77564e9f

View file

@ -117,6 +117,7 @@ def tools_maindomain(old_domain, new_domain):
"$tmp->{'domain'} = '"+ new_domain +"';", # Replace Lemon domain
"$tmp->{'ldapBase'} = 'dc=yunohost,dc=org';", # Set ldap basedn
"$tmp->{'portal'} = 'https://"+ new_domain +"/sso/';", # Set SSO url
"$tmp->{'locationRules'}->{'"+ new_domain +"'}->{'(?#0ynh_admin)^/ynh_admin/'} = '$uid eq \"admin\"';
]
with open(lemon_tmp_conf,'a') as lemon_conf: