From e4f59f6fdfaee0db1bdd0e906c0a7c2dd1655efc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 9 Oct 2022 11:12:12 +0200 Subject: [PATCH] Update restore --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 89414a6..483ee3e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,7 +32,8 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path + || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS