From bbe1fd62878fda25fe3247849f5a36591704b03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 19 Mar 2024 10:06:23 +0100 Subject: [PATCH] full_replace=1 in upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7e8df4d..b9e1bbe 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Upgrading source files..." --weight=9 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir/app" +ynh_setup_source --dest_dir="$install_dir/app" --full_replace=1 --keep="sites" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir"