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"