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