From 6f1f035b1e9b20bc0f876f5b023cbd1092836dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 2 Mar 2023 12:28:13 +0100 Subject: [PATCH] Update restore --- scripts/restore | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index b9f1865..ead1d23 100755 --- a/scripts/restore +++ b/scripts/restore @@ -24,10 +24,9 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= ynh_script_progression --message="Restoring the app main directory..." --weight=3 -ynh_restore_file --origin_path="$data_dir" --not_mandatory +ynh_restore_file --origin_path="$install_dir" -# (Same as for install dir) -chown -R $app:www-data "$data_dir" +chown -R $app:www-data "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE