mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Force configuration only at postinstall
This commit is contained in:
parent
4e0cbf7215
commit
ca0b64bd5b
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ def tools_maindomain(auth, old_domain=None, new_domain=None, dyndns=False):
|
|||
|
||||
try:
|
||||
with open('/etc/yunohost/installed', 'r') as f:
|
||||
service_regenconf(force=True)
|
||||
service_regenconf()
|
||||
except IOError: pass
|
||||
|
||||
msignals.display(m18n.n('maindomain_changed'), 'success')
|
||||
|
@ -276,7 +276,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
|||
|
||||
os.system('touch /etc/yunohost/installed')
|
||||
|
||||
service_regenconf()
|
||||
service_regenconf(force=True)
|
||||
|
||||
msignals.display(m18n.n('yunohost_configured'), 'success')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue