From ca0b64bd5b005fe5573f339bd6dbf65bc7390fd5 Mon Sep 17 00:00:00 2001 From: kload Date: Fri, 2 Oct 2015 05:36:33 -0400 Subject: [PATCH] [fix] Force configuration only at postinstall --- lib/yunohost/tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/yunohost/tools.py b/lib/yunohost/tools.py index bfa9c1a4..867fc775 100644 --- a/lib/yunohost/tools.py +++ b/lib/yunohost/tools.py @@ -147,7 +147,7 @@ def tools_maindomain(auth, old_domain=None, new_domain=None, dyndns=False): try: with open('/etc/yunohost/installed', 'r') as f: - service_regenconf(force=True) + service_regenconf() except IOError: pass msignals.display(m18n.n('maindomain_changed'), 'success') @@ -276,7 +276,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False): os.system('touch /etc/yunohost/installed') - service_regenconf() + service_regenconf(force=True) msignals.display(m18n.n('yunohost_configured'), 'success')