From 6cc01ab28557bc758890b2d3b260b5a326717acf Mon Sep 17 00:00:00 2001 From: Philipp Stappert Date: Wed, 20 Mar 2024 12:45:41 +0100 Subject: [PATCH] Update install --- scripts/install | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/scripts/install b/scripts/install index 6dbb3cd..4f501ef 100755 --- a/scripts/install +++ b/scripts/install @@ -39,9 +39,6 @@ ynh_setup_source --dest_dir=$install_dir chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" - -ls -al "$install_dir" - chmod -R 775 $install_dir/storage #================================================= @@ -55,13 +52,6 @@ ynh_add_nginx_config #================================================= # SPECIFIC SETUP -#================================================= -# INSTALL COMPOSER DEPENDENCIES -#================================================= -ynh_script_progression --message="Installing composer dependencies..." - -ynh_exec_warn_less ynh_install_composer --phpversion=$phpversion --workdir=$install_dir - #================================================= # ADD A CONFIGURATION #================================================= @@ -72,6 +62,13 @@ 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 #=================================================