From fa276165c9a73a62e917d8518bc37a2aafd5f877 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 24 Mar 2020 20:04:42 +0100 Subject: [PATCH] reordering PHP7.3 during install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 5b094051..1b77d336 100644 --- a/scripts/install +++ b/scripts/install @@ -57,14 +57,14 @@ ynh_app_setting_set --app="$app" --key=app_key --value="$app_key" #================================================= # STANDARD MODIFICATIONS #================================================= -# INSTALL PHP7.3 when on Stretch +# INSTALL PHP7.3 #================================================= -if [ "$(lsb_release --codename --short)" = "stretch" ]; then +if [ "$(lsb_release --codename --short)" = "buster" ]; then + pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies" +else ynh_print_info --message="Installing php7.3..." ynh_install_php --phpversion="7.3" --package="$extra_pkg_dependencies" -else - pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies" fi #=================================================