From 43718d8de0b03f5f54a137e736e97c22511a8647 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 22 May 2022 23:05:16 +0200 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5926b5a..d234dc2 100755 --- a/scripts/install +++ b/scripts/install @@ -78,7 +78,7 @@ ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." --weight=5 +ynh_script_progression --message="Setting up source files..." --weight=15 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src @@ -109,7 +109,7 @@ ynh_add_fpm_config #================================================= ynh_script_progression --message="Installing Composer..." --weight=10 -ynh_install_composer +curl -sS https://getcomposer.org/installer | COMPOSER_HOME="$final_path/.composer" php${phpversion} -- --quiet --install-dir="$final_path" --version="2.3.3" || ynh_die --message="Unable to install Composer." #================================================= # CREATE DATA DIRECTORY