From 8a702185bf2134011afecd24cb10846e071cabf9 Mon Sep 17 00:00:00 2001 From: abeudin Date: Fri, 3 May 2013 13:10:39 +0300 Subject: [PATCH] Update yunohost_tools.py --- yunohost_tools.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index 6f837adc..c0856068 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -92,6 +92,7 @@ def tools_maindomain(old_domain, new_domain): '/etc/dovecot/dovecot.conf', '/etc/lemonldap-ng/lemonldap-ng.ini', '/etc/hosts', + '/usr/share/yunohost/yunohost-config/others/startup', ] config_dir = [] @@ -167,7 +168,7 @@ def tools_postinstall(domain, password): """ with YunoHostLDAP(password='yunohost') as yldap: try: - with open('/usr/share/yunohost/yunohost-config/others/installed') as f: pass + with open('/etc/yunohost/installed') as f: pass except IOError: print('Installing YunoHost') else: @@ -182,6 +183,6 @@ def tools_postinstall(domain, password): # Change LDAP admin password tools_adminpw(old_password='yunohost', new_password=password) - os.system('touch /usr/share/yunohost/yunohost-config/others/installed') + os.system('touch /etc/yunohost/installed') win_msg(_("YunoHost has been successfully configured"))