From bb6634d57afa79c2c6f17e2fd111edbdd0e4b7b4 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 24 Apr 2024 18:28:00 +0200 Subject: [PATCH] Let's try to remove the composer calls from install and upgrade... --- scripts/install | 7 ------- scripts/upgrade | 5 ----- 2 files changed, 12 deletions(-) diff --git a/scripts/install b/scripts/install index 992cfea..b552d5c 100755 --- a/scripts/install +++ b/scripts/install @@ -41,13 +41,6 @@ ynh_add_config --template=".env" --destination="$install_dir/.env" chmod 400 "$install_dir/.env" chown $app "$install_dir/.env" -#================================================= -# INSTALL COMPOSER DEPENDENCIES -#================================================= -ynh_script_progression --message="Installing composer dependencies..." - -ynh_exec_warn_less ynh_install_composer --phpversion=$phpversion --workdir=$install_dir - #================================================= # DEPLOY #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 15dbb84..d862fa6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -30,11 +30,6 @@ ynh_add_nginx_config #================================================= # SPECIFIC UPGRADE #================================================= -# UPDATE PHP DEPENDENCIES -#================================================= -ynh_script_progression --message="Updating PHP dependencies..." - -ynh_exec_warn_less ynh_install_composer #================================================= # UPDATE A CONFIG FILE