1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/civicrm_drupal7_ynh.git synced 2024-09-03 18:16:19 +02:00

Fix upgrade

This commit is contained in:
Salamandar 2024-02-01 23:23:18 +01:00
parent 613249077f
commit eb0bb7c99b

View file

@ -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"