mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Postinstall fail with a list of domains
This commit is contained in:
parent
a0d4a90ab2
commit
a92f7b8167
1 changed files with 1 additions and 1 deletions
2
tools.py
2
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')
|
||||
|
|
Loading…
Add table
Reference in a new issue