diff --git a/scripts/install b/scripts/install index 7ee809b..fd45c80 100644 --- a/scripts/install +++ b/scripts/install @@ -132,13 +132,6 @@ ynh_add_config --template="../conf/db.example.inc.php" --destination="$final_pat chmod 400 "$final_path/config/db.inc.php" chown $app "$final_path/config/db.inc.php" -#================================================= -# Install PHP dependencies using composer -#================================================= -ynh_script_progression --message="Configuring Composer..." --weight=1 - -ynh_install_composer - #================================================= # SETUP SYSTEMD #================================================= @@ -146,6 +139,13 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=12 ynh_add_systemd_config +#================================================= +# Install PHP dependencies using composer +#================================================= +ynh_script_progression --message="Configuring Composer..." --weight=1 + +ynh_install_composer + #================================================= # CREATE DATA DIRECTORY #=================================================