From bfcd576fe095c6fbb24e7ca3d9f9669be72476f3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 7 Feb 2022 21:41:16 +0100 Subject: [PATCH] Fix --- scripts/_common.sh | 2 +- scripts/install | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 8db66e3..7a6958b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -12,7 +12,7 @@ YNH_PHP_VERSION="8.0" # dependencies used by the app pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-gettext php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-xml" -YNH_COMPOSER_VERSION="2.1.5" +YNH_COMPOSER_VERSION="2.2.5" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 9bce6e4..25a33a3 100644 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,8 @@ ynh_add_fpm_config ynh_script_progression --message="Installing Composer..." --weight=10 ynh_secure_remove --file="$final_path/composer.lock" -ynh_install_composer + +ynh_install_composer --install_args="--ignore-platform-reqs" chown -R $app "$final_path/.composer" chmod 777 -R "$final_path"