From 78744b52fac4f05e43673e1fc0ac129bdd77e2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 4 Jan 2023 21:57:38 +0100 Subject: [PATCH] Update install --- scripts/install | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 #=================================================