Change tahoe path + create appropriate folders

This commit is contained in:
Kload 2013-08-04 12:34:40 +02:00
parent c1a0332a38
commit 49eae5fbe8

View file

@ -146,7 +146,7 @@ def tools_maindomain(old_domain, new_domain, dyndns=False):
'/etc/lemonldap-ng/lemonldap-ng.ini', '/etc/lemonldap-ng/lemonldap-ng.ini',
'/etc/hosts', '/etc/hosts',
'/usr/share/yunohost/yunohost-config/others/startup', '/usr/share/yunohost/yunohost-config/others/startup',
'/home/backup.tahoe/tahoe.cfg' '/home/yunohost.backup/tahoe/tahoe.cfg'
] ]
config_dir = [] config_dir = []
@ -252,7 +252,9 @@ def tools_postinstall(domain, password, dyndns=False):
folders_to_create = [ folders_to_create = [
'/etc/yunohost/apps', '/etc/yunohost/apps',
'/etc/yunohost/certs', '/etc/yunohost/certs',
'/var/cache/yunohost/repo' '/var/cache/yunohost/repo',
'/home/yunohost.samba',
'/home/yunohost.app'
] ]
for folder in folders_to_create: for folder in folders_to_create: