From 87ba174219a5cf9b69c18f506799474ef77e7c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 26 Feb 2024 21:18:53 +0100 Subject: [PATCH] Fix upgrade full_replace=1 --- scripts/upgrade | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3564ab0..06ac138 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,8 +20,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Upgrading source files..." --weight=7 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="data" - +ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" # chmod -R ga+w "$install_dir/data"