From 2e3338340a11a8d7ca10b4f478dda15a8eaf844b Mon Sep 17 00:00:00 2001 From: dragondaddy Date: Mon, 7 Aug 2023 00:57:41 +0200 Subject: [PATCH] Added missing paths in install script --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 54fd1eb..8b12aff 100755 --- a/scripts/install +++ b/scripts/install @@ -42,10 +42,10 @@ ynh_setup_source --dest_dir="$install_dir" # Let's copy the webapp in the public directory -cp -R app/dist/* public/ +cp -R $install_dir/app/dist/* $install_dir/public/ ynh_script_progression --message="Pulling in external libraries with Composer..." -cd api +cd $install_dir/api ynh_install_composer chown -R $app:www-data "$install_dir"