mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
backups: yunohost should not ask confirmation that 'YunoHost is already installed' when restoring only apps
This commit is contained in:
parent
b266e398ff
commit
9c22d36c6f
1 changed files with 1 additions and 1 deletions
|
@ -2328,7 +2328,7 @@ def backup_restore(name, system=[], apps=[], force=False):
|
||||||
# Add validation if restoring system parts on an already-installed system
|
# Add validation if restoring system parts on an already-installed system
|
||||||
#
|
#
|
||||||
|
|
||||||
if restore_manager.targets.targets["system"] != [] and os.path.isfile(
|
if restore_manager.info["system"] != {} and restore_manager.targets.targets["system"] != [] and os.path.isfile(
|
||||||
"/etc/yunohost/installed"
|
"/etc/yunohost/installed"
|
||||||
):
|
):
|
||||||
logger.warning(m18n.n("yunohost_already_installed"))
|
logger.warning(m18n.n("yunohost_already_installed"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue