From eb0bb7c99b7b7d2f81737b6995f94da981e2c21d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 1 Feb 2024 23:23:18 +0100 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index b628aa5..d519156 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -24,9 +24,7 @@ yunohost tools regen-conf mysql --force #================================================= ynh_script_progression --message="Upgrading source files..." -#REMOVEME? ynh_secure_remove --file="$install_dir/$app/sites/all/modules/civicrm" -mkdir -p "$install_dir/$app/sites/all/modules" -ynh_setup_source --dest_dir="$install_dir/$app/sites/all/modules/civicrm" --source_id="civicrm-drupal" +ynh_setup_source --dest_dir="$install_dir/$app/sites/all/modules/civicrm" --source_id="civicrm-drupal" --full_replace=1 ynh_setup_source --dest_dir="$install_dir/$app/sites/all/modules/civicrm" --source_id="civicrm-l10n" chmod 750 "$install_dir"