Skip to content

Commit

Permalink
chore: don't prompt when updating yarn during update
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jul 2, 2024
1 parent b44e4e6 commit 0aa558c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pi-image/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ if [[ "$CURRENT_ARCH" != "x64" && "$CURRENT_ARCH" != "amd64" && "$CURRENT_ARCH"
exit 0
fi

# don't prompt before downloading yarn
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0

# imitiate the fnm setup done in .bashrc
export FNM_DIR=/opt/fnm
export PATH=/opt/fnm:$PATH
Expand Down

0 comments on commit 0aa558c

Please sign in to comment.