[fix] Allow restoration after postinstallation (risky)

This commit is contained in:
kload 2014-10-26 00:48:40 +02:00
parent 3976f05703
commit 7ab1e67a94

View file

@ -90,7 +90,8 @@ def backup_restore(path):
try: try:
with open('/etc/yunohost/installed') as f: with open('/etc/yunohost/installed') as f:
raise MoulinetteError(errno.EINVAL, m18n.n('yunohost_already_installed')) #raise MoulinetteError(errno.EINVAL, m18n.n('yunohost_already_installed'))
pass
except IOError: except IOError:
tools_postinstall(domain, 'yunohost', True) tools_postinstall(domain, 'yunohost', True)