From 916ff6ae734e871e2779531f9a9922a5e4b660de Mon Sep 17 00:00:00 2001 From: Kload Date: Fri, 8 Mar 2013 10:19:39 +0100 Subject: [PATCH] delete useless lemon conf --- yunohost_tools.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index 05283b75..7ccb282b 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -112,11 +112,9 @@ def tools_maindomain(old_domain, new_domain): if os.path.exists(lemon_tmp_conf): os.remove(lemon_tmp_conf) lemon_conf_lines = [ - "delete $tmp->{'locationRules'}->{'"+ old_domain +"'}->{'^/sso/'};", # Remove SSO access rule from old 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 +"'}->{'^/sso/'} = 'unprotect';" # Add SSO access rule to new domain ] with open(lemon_tmp_conf,'a') as lemon_conf: