diff --git a/scripts/install b/scripts/install index acca67e..24a51de 100755 --- a/scripts/install +++ b/scripts/install @@ -124,6 +124,13 @@ chmod 750 "$datadir" chmod -R o-rwx "$datadir" chown -R $app:www-data "$datadir" +#================================================= +# INSTALL APP WITH COMPOSER +#================================================= +ynh_script_progression --message="Installing app with Composer..." --weight=15 + +ynh_install_composer + #================================================= # ADD A CONFIGURATION #================================================= @@ -134,13 +141,6 @@ ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env chmod 400 "$final_path/.env" chown $app:$app "$final_path/.env" -#================================================= -# INSTALL APP WITH COMPOSER -#================================================= -ynh_script_progression --message="Installing app with Composer..." --weight=15 - -ynh_install_composer - #================================================= # BUILDING #=================================================