From 55a27b415aa86b04914d2417db5584bbd8844435 Mon Sep 17 00:00:00 2001 From: dragondaddy Date: Mon, 7 Aug 2023 01:02:32 +0200 Subject: [PATCH] add composer workdir --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 8b12aff..b2be886 100755 --- a/scripts/install +++ b/scripts/install @@ -45,8 +45,8 @@ ynh_setup_source --dest_dir="$install_dir" cp -R $install_dir/app/dist/* $install_dir/public/ 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"