From ff558417aecd50e7aa85499e22980bb5c60d026f Mon Sep 17 00:00:00 2001 From: apolopena <3060702+apolopena@users.noreply.github.com> Date: Fri, 21 May 2021 18:37:32 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20https://github.com/apolop?= =?UTF-8?q?ena/gitpod-laravel-starter/issues/142?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gp/bash/examples/init-react-example.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.gp/bash/examples/init-react-example.sh b/.gp/bash/examples/init-react-example.sh index ee5f79a6..dd76e9e7 100644 --- a/.gp/bash/examples/init-react-example.sh +++ b/.gp/bash/examples/init-react-example.sh @@ -15,17 +15,11 @@ all_zeros='^0$|^0*0$' task_msg="Setting up React example: Questions and Answers" log "$task_msg" -curl -LJO https://github.com/apolopena/QnA-demo-skeleton/archive/refs/tags/1.0.0.tar.gz +curl -LJO https://github.com/apolopena/qna-demo-skeleton/archive/refs/tags/1.1.0.tar.gz exit_codes+=($?) -tar -xvzf QnA-demo-skeleton-1.0.0.tar.gz --strip-components=1 +tar --overwrite -xvzf qna-demo-skeleton-1.1.0.tar.gz --strip-components=1 exit_codes+=($?) -rm QnA-demo-skeleton-1.0.0.tar.gz -exit_codes+=($?) -php artisan migrate -exit_codes+=($?) -php artisan db:seed -exit_codes+=($?) -yarn run mix +rm qna-demo-skeleton-1.1.0.tar.gz exit_codes+=($?) if [[ $(echo "${exit_codes[@]}" | tr -d '[:space:]') =~ $all_zeros ]]; then