From bba7928a4f8ab12483c526bc515e188d4831c936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Strausmann?= Date: Sun, 6 Mar 2022 11:27:34 +0000 Subject: [PATCH] FIX: #210 - change owner and create vendor/bin --- .gp/bash/init-complete.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gp/bash/init-complete.sh b/.gp/bash/init-complete.sh index f6958299..e8f81e3b 100644 --- a/.gp/bash/init-complete.sh +++ b/.gp/bash/init-complete.sh @@ -6,7 +6,7 @@ # init-complete.sh # Description: # Code to be run just once at the very end of workspace initialization. -# +# # Notes: # Always call this file last from the 'init' command in .gitpod.yml @@ -18,6 +18,8 @@ allow_mixed_web=$(bash .gp/bash/utils.sh parse_ini_value starter.ini laravel all [[ $allow_mixed_web != 0 ]] && bash .gp/bash/directives/allow-mixed-web.sh # Add Workspace/Project composer bin folder to $PATH +sudo chown gitpod:gitpod $HOME/.config/composer +mkdir -p $HOME/.config/composer/vendor/bin export PATH="$PATH:$HOME/.config/composer/vendor/bin:$GITPOD_REPO_ROOT/vendor/bin" # Cleanup