mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fixing previous commit after postinstall tests
This commit is contained in:
parent
731ff6f906
commit
597da8be46
1 changed files with 3 additions and 3 deletions
|
@ -125,7 +125,7 @@ def tools_adminpw(auth, new_password):
|
||||||
logger.success(m18n.n('admin_password_changed'))
|
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
|
Main domain consultaton or change tool
|
||||||
|
|
||||||
|
@ -278,8 +278,8 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
||||||
m18n.n('yunohost_ca_creation_failed'))
|
m18n.n('yunohost_ca_creation_failed'))
|
||||||
|
|
||||||
# New domain config
|
# New domain config
|
||||||
domain_add(auth, new_domain, dyndns)
|
domain_add(auth, domain, dyndns)
|
||||||
tools_maindomain(auth, old_domain='yunohost.org', new_domain=domain)
|
tools_maindomain(auth, domain)
|
||||||
|
|
||||||
# Generate SSOwat configuration file
|
# Generate SSOwat configuration file
|
||||||
app_ssowatconf(auth)
|
app_ssowatconf(auth)
|
||||||
|
|
Loading…
Add table
Reference in a new issue