From 7ab1e67a94cff88d964953b1f8705064163992ce Mon Sep 17 00:00:00 2001 From: kload Date: Sun, 26 Oct 2014 00:48:40 +0200 Subject: [PATCH] [fix] Allow restoration after postinstallation (risky) --- backup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup.py b/backup.py index 1bb1f5aba..fc1c21590 100644 --- a/backup.py +++ b/backup.py @@ -90,7 +90,8 @@ def backup_restore(path): try: 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: tools_postinstall(domain, 'yunohost', True)