diff --git a/manifest.json b/manifest.json index e357665..8551e18 100644 --- a/manifest.json +++ b/manifest.json @@ -24,7 +24,7 @@ "email": "jean-baptiste@holcroft.fr" }], "requirements": { - "yunohost": ">= 4.2.4" + "yunohost": ">= 4.3.0" }, "multi_instance": true, "services": [ diff --git a/scripts/restore b/scripts/restore index 957e2c8..f199a4f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -30,8 +30,7 @@ port=$(ynh_app_setting_get --app=$app --key=port) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -d "$final_path" \ - || ynh_die "There is already a directory: $final_path " +test ! -d "$final_path" || ynh_die "There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS