From cc0195bff52516f282a8dbc32a99691d69482e27 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 9 Oct 2022 11:13:33 +0200 Subject: [PATCH] fix linter --- manifest.json | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 0f3556a..78ea89d 100644 --- a/manifest.json +++ b/manifest.json @@ -21,7 +21,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [ diff --git a/scripts/restore b/scripts/restore index 483ee3e..bacee9f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,7 +32,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -d $final_path +test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " #=================================================