From bedcd90f9c3da7544c860cb98ed7a6ae96817de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 25 Mar 2024 11:11:40 +0100 Subject: [PATCH] Use --full_replace=1 for ynh_setup_source --- scripts/_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 552e434..74ba9b1 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,8 @@ #================================================= upgrade_dolibarr() { - ynh_setup_source --source_id="$source_id" --dest_dir="$install_dir" + ynh_setup_source --source_id="$source_id" --dest_dir="$install_dir" --full_replace=1 \ + --keep="htdocs/conf/conf.php htdocs/install/install.forced.php" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir"