From b31bb9a7d4eb35f0c6cda2dd3ddd799c6e527ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 13 Jan 2024 13:09:05 +0100 Subject: [PATCH] Fix upgrade full_replace --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 894d225..cff9fe4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" --keep="$install_dir/config.php" +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="$install_dir/config.php" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir"