1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snipeit_ynh.git synced 2024-09-03 20:26:16 +02:00

Fix composer

This commit is contained in:
anmol26s 2019-05-01 19:38:11 +05:30
parent 3a99f9cb6f
commit 815ea10e5a

View file

@ -161,8 +161,8 @@ ynh_script_progression --message="Configuring php-fpm..." --time --weight=1
# Create a dedicated php-fpm config
ynh_add_fpm_config
init_composer "$app" "$final_path"
( cd $final_path && sudo sudo -u "$app" curl -sS https://getcomposer.org/installer | php )
( cd $final_path && sudo sudo -u "$app" php composer.phar install --no-dev --prefer-source )
#=================================================
# SPECIFIC SETUP