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:
parent
0b9b2130b4
commit
baa5d5efee
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue