From 6cf57e3bb06759b1854c0bd845228f4ac1ad4c36 Mon Sep 17 00:00:00 2001 From: ljf Date: Mon, 2 Jan 2017 15:12:22 +0100 Subject: [PATCH] [fix] Ignore dyndns option is not needed with small domain --- src/yunohost/tools.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index 7cc221683..ac3d2c490 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -178,7 +178,8 @@ def tools_postinstall(domain, password, ignore_dyndns=False): Keyword argument: domain -- YunoHost main domain - ignore_dyndns -- Do not subscribe domain to a DynDNS service + ignore_dyndns -- Do not subscribe domain to a DynDNS service (only + needed for nohost.me, noho.st domains) password -- YunoHost admin password """ @@ -203,6 +204,10 @@ def tools_postinstall(domain, password, ignore_dyndns=False): else: raise MoulinetteError(errno.EEXIST, m18n.n('dyndns_unavailable')) + else: + dyndns = False + else: + dyndns = False logger.info(m18n.n('yunohost_installing')) @@ -296,7 +301,6 @@ def tools_postinstall(domain, password, ignore_dyndns=False): os.system('service yunohost-firewall start') service_regen_conf(force=True) - logger.success(m18n.n('yunohost_configured'))