1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zusam_ynh.git synced 2024-09-03 18:05:54 +02:00

add composer workdir

This commit is contained in:
dragondaddy 2023-08-07 01:02:32 +02:00
parent 2e3338340a
commit 55a27b415a

View file

@ -45,8 +45,8 @@ ynh_setup_source --dest_dir="$install_dir"
cp -R $install_dir/app/dist/* $install_dir/public/ cp -R $install_dir/app/dist/* $install_dir/public/
ynh_script_progression --message="Pulling in external libraries with Composer..." ynh_script_progression --message="Pulling in external libraries with Composer..."
cd $install_dir/api
ynh_install_composer ynh_install_composer --workdir=$install_dir/api
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"