From 3208694ead03308d884e77c9f5809a7817631d04 Mon Sep 17 00:00:00 2001 From: Limezy Date: Wed, 1 May 2024 23:22:47 +0700 Subject: [PATCH] Fix restore --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 48e03df..4152f8e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -20,10 +20,10 @@ ynh_restore_file --origin_path="$install_dir" chown -R $app:www-data "$install_dir" ynh_restore_file --origin_path="/home/$app" -ynh_restore_file --origin_path="/home/yunohost.app/$app" +ynh_restore_file --origin_path="/home/yunohost.app/$app" --not_mandatory chown -R $app:www-data "/home/$app" -chown -R $app:www-data "/home/yunohost.app/$app" --not_mandatory +chown -R $app:www-data "/home/yunohost.app/$app" ln -s "/home/yunohost.app/$app" "/home/$app/repos" && chmod 700 "/home/$app/repos" ln -s "$install_dir/app" "/home/$app/app" && chmod 700 "/home/$app/app"