diff --git a/yunohost_tools.py b/yunohost_tools.py index d8790556..79e29fad 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -129,8 +129,8 @@ def tools_maindomain(old_domain, new_domain): tmp = '/usr/share/yunohost/yunohost-config' command_list = [ - 'cp /etc/yunohost/apache/templates/sso.fixed.conf /etc/yunohost/apache/domains/' + new_domain + '.d/sso.fixed.conf', # add SSO apache conf dir to new domain conf - 'cp /etc/yunohost/apache/template/admin.fixed.conf /etc/yunohost/apache/domains/' + new_domain + '.d/admin.fixed.conf', + 'cp /etc/yunohost/apache/templates/sso.fixed.conf /etc/yunohost/apache/domains/' + new_domain + '.d/sso.fixed.conf', # add SSO apache conf dir to new domain conf + 'cp /etc/yunohost/apache/templates/admin.fixed.conf /etc/yunohost/apache/domains/' + new_domain + '.d/admin.fixed.conf', '/usr/share/lemonldap-ng/bin/lmYnhMoulinette', '/etc/init.d/hostname.sh', 'echo "01" > '+ tmp +'/ssl/yunoCA/serial',