1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal_ynh.git synced 2024-09-03 18:35:53 +02:00

Fixing update

This commit is contained in:
yalh76 2020-03-23 19:25:55 +01:00
parent 0b9b2130b4
commit baa5d5efee

View file

@ -90,8 +90,13 @@ ynh_add_nginx_config
#================================================= #=================================================
if [ "$(lsb_release --codename --short)" = "stretch" ]; then if [ "$(lsb_release --codename --short)" = "stretch" ]; then
ynh_print_info --message="Upgrading PHP7.3..." if [ "$(ynh_app_setting_get --app=$app --key=php_version)" != "7.3" ]; then
ynh_install_php --phpversion="7.3" --package="$extra_pkg_dependencies" ynh_print_info --message="Upgrading PHP7.3..."
ynh_remove_fpm_config
ynh_remove_app_dependencies
ynh_remove_php
ynh_install_php --phpversion="7.3" --package="$extra_pkg_dependencies"
fi
else else
pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies" pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies"
fi fi