From 597da8be465309356b7b16f9766ba8f3449d924c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 25 Nov 2016 03:03:41 +0100 Subject: [PATCH] Fixing previous commit after postinstall tests --- src/yunohost/tools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index 51acc410d..8e1603d83 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -125,7 +125,7 @@ def tools_adminpw(auth, new_password): logger.success(m18n.n('admin_password_changed')) -def tools_maindomain(auth, old_domain=None, new_domain=None, dyndns=False): +def tools_maindomain(auth, new_domain=None): """ Main domain consultaton or change tool @@ -278,8 +278,8 @@ def tools_postinstall(domain, password, ignore_dyndns=False): m18n.n('yunohost_ca_creation_failed')) # New domain config - domain_add(auth, new_domain, dyndns) - tools_maindomain(auth, old_domain='yunohost.org', new_domain=domain) + domain_add(auth, domain, dyndns) + tools_maindomain(auth, domain) # Generate SSOwat configuration file app_ssowatconf(auth)