diff --git a/bin/yunohost b/bin/yunohost index 7913de091..947845586 100755 --- a/bin/yunohost +++ b/bin/yunohost @@ -38,7 +38,8 @@ if __name__ == '__main__': # Check that YunoHost is installed if not os.path.isfile('/etc/yunohost/installed') and \ - (len(args) < 2 or args[0] != 'tools' or args[1] != 'postinstall'): + (len(args) < 2 or (args[0] +' '+ args[1] != 'tools postinstall' and \ + args[0] +' '+ args[1] != 'backup restore')): from moulinette.interfaces.cli import colorize, get_locale # Init i18n