From 5335256aeaab9d04e3231c7077c9c4863920d691 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Sun, 26 Oct 2025 16:30:01 -0300 Subject: [PATCH] :boom: fix(install, update): change dir before installing/updating deps --- install.sh | 4 ++-- update.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index e50ca7b..37de8e6 100755 --- a/install.sh +++ b/install.sh @@ -84,12 +84,12 @@ if [[ "$answer" == y ]] || [[ "$skip_prompts" ]]; then cp -rf $repo_directory/config/$dir "$dest" # copy done + prev_wd=`pwd` + cd "$repo_directory" Send_log "Updating dependencies" pnpm i && pnpm update Send_log "Building colorshell" - prev_wd=`pwd` - cd "$repo_directory" pnpm build:release cd "$prev_wd" diff --git a/update.sh b/update.sh index a895ba4..9abe249 100755 --- a/update.sh +++ b/update.sh @@ -99,12 +99,12 @@ if [[ "$answer" == y ]] || [[ "$skip_prompts" ]]; then cp -rf $repo_directory/config/$dir "$dest" # copy done + prev_wd=`pwd` + cd "$repo_directory" Send_log "Updating dependencies" pnpm i && pnpm update Send_log "Building colorshell" - prev_wd=`pwd` - cd "$repo_directory" pnpm build:release cd "$prev_wd"