1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal7_ynh.git synced 2024-09-03 18:26:19 +02:00
This commit is contained in:
yalh76 2019-06-01 06:57:23 +02:00
parent 918014e66c
commit 3da5f3ffdb

View file

@ -99,9 +99,9 @@ ynh_print_info --message="Making sure dedicated system user exists..."
ynh_system_user_create --username=$app --home_dir="$final_path" ynh_system_user_create --username=$app --home_dir="$final_path"
#================================================= #=================================================
# UPDATE PHP # UPGRADE PHP
#================================================= #=================================================
ynh_print_info --message="Updating PHP..." ynh_print_info --message="Upgrading PHP..."
ynh_install_php --phpversion="7.2" --package="$extra_pkg_dependencies" ynh_install_php --phpversion="7.2" --package="$extra_pkg_dependencies"
@ -116,16 +116,16 @@ ynh_add_fpm_config --phpversion="7.2"
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================
# UPDATE COMPOSER # UPGRADE COMPOSER
#================================================= #=================================================
ynh_print_info --message="Updating Composer..." ynh_print_info --message="Upgrading Composer..."
ynh_install_composer --phpversion="7.2" --workdir="$final_path/.composer" ynh_install_composer --phpversion="7.2" --workdir="$final_path/.composer"
#================================================= #=================================================
# UPDATE DRUPAL # UPGRADE DRUPAL
#================================================= #=================================================
ynh_print_info --message="Updating Drupal..." ynh_print_info --message="Upgrading Drupal..."
ynh_backup_if_checksum_is_different --file="$final_path/$app/sites/default/settings.php" ynh_backup_if_checksum_is_different --file="$final_path/$app/sites/default/settings.php"
export PATH="$final_path/.composer/vendor/bin:$PATH" export PATH="$final_path/.composer/vendor/bin:$PATH"