From 24b32007fe72c7061d4c698db445146389bdfcfd Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 12 Jan 2022 09:52:59 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 9218a3c..c5961fe 100755 --- a/scripts/restore +++ b/scripts/restore @@ -34,7 +34,7 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= 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 @@ -63,6 +63,7 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +chmod +x "$final_path/shiori" #================================================= # RESTORE THE DATA DIRECTORY