From a92f7b8167cc9dc8d9078a5bf715f0573445c8d7 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sat, 28 Jun 2014 10:47:57 +0200 Subject: [PATCH] [fix] Postinstall fail with a list of domains --- tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.py b/tools.py index 5982e7d34..973d1fa23 100644 --- a/tools.py +++ b/tools.py @@ -140,7 +140,7 @@ def tools_maindomain(auth, old_domain=None, new_domain=None, dyndns=False): for line in lines: sources.write(re.sub(r''+ old_domain +'', new_domain, line)) - domain_add(auth, [new_domain], main=True) + domain_add(auth, new_domain, main=True) os.system('rm /etc/ssl/private/yunohost_key.pem') os.system('rm /etc/ssl/certs/yunohost_crt.pem')