mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Ignore dyndns option is not needed with small domain
This commit is contained in:
parent
ab279d9c6b
commit
6cf57e3bb0
1 changed files with 6 additions and 2 deletions
|
@ -178,7 +178,8 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
||||||
|
|
||||||
Keyword argument:
|
Keyword argument:
|
||||||
domain -- YunoHost main domain
|
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
|
password -- YunoHost admin password
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -203,6 +204,10 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
||||||
else:
|
else:
|
||||||
raise MoulinetteError(errno.EEXIST,
|
raise MoulinetteError(errno.EEXIST,
|
||||||
m18n.n('dyndns_unavailable'))
|
m18n.n('dyndns_unavailable'))
|
||||||
|
else:
|
||||||
|
dyndns = False
|
||||||
|
else:
|
||||||
|
dyndns = False
|
||||||
|
|
||||||
logger.info(m18n.n('yunohost_installing'))
|
logger.info(m18n.n('yunohost_installing'))
|
||||||
|
|
||||||
|
@ -296,7 +301,6 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
||||||
os.system('service yunohost-firewall start')
|
os.system('service yunohost-firewall start')
|
||||||
|
|
||||||
service_regen_conf(force=True)
|
service_regen_conf(force=True)
|
||||||
|
|
||||||
logger.success(m18n.n('yunohost_configured'))
|
logger.success(m18n.n('yunohost_configured'))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue