From c591fa7ba8e92aba3d0e29afb56b28d1437ce711 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 15 Jan 2022 09:50:34 +0100 Subject: [PATCH] fix --- scripts/_common.sh | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 13bd38c..eaf4c2b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -YNH_PHP_VERSION="7.3" +YNH_PHP_VERSION="7.4" YNH_COMPOSER_VERSION="2.0.13" diff --git a/scripts/install b/scripts/install index b3788ec..8248e87 100644 --- a/scripts/install +++ b/scripts/install @@ -27,6 +27,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC timezone=$(cat /etc/timezone) maindomain=$(yunohost domain main-domain --output-as plain) email=$(ynh_user_get_info --username=$admin --key=mail) +phpversion=$YNH_PHP_VERSION app=$YNH_APP_INSTANCE_NAME @@ -121,7 +122,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1 ynh_replace_string --match_string="__TIMEZONE__" --replace_string="$timezone" --target_file=../conf/php-fpm.conf ynh_add_fpm_config -phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion) #================================================= # SET CONFIGURATION FILE