From a52c71bc265326f6b7bc85f718c469be4cf63fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 10 Apr 2023 11:07:55 +0200 Subject: [PATCH] Update restore --- scripts/restore | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/scripts/restore b/scripts/restore index 2b62a3f..dfb22ee 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,17 +17,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -chown -R $app:www-data "$install_dir" - -#================================================= -# RESTORE THE DATA DIRECTORY -#================================================= -ynh_script_progression --message="Restoring the data directory..." --weight=1 - -ynh_restore_file --origin_path="$data_dir" --not_mandatory - chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$data_dir" +chown -R $app:www-data "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE