Skip to content

Commit

Permalink
Always run the pnpm install script to ensure it is up-to-date
Browse files Browse the repository at this point in the history
  • Loading branch information
toebeann committed Jan 26, 2024
1 parent c511dd1 commit ee31b0f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions gib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
{ # this ensures the entire script is downloaded #
set -e # exit on err

# ensure pnpm is installed
if ! command -v pnpm >/dev/null; then
echo "Installing pnpm..."
curl -fsSL https://get.pnpm.io/install.sh | sh - >/dev/null
source ~/.zshrc
fi
# ensure pnpm is installed and up-to-date
echo "Preparing pnpm..."
curl -fsSL https://get.pnpm.io/install.sh | sh - >/dev/null
source ~/.zshrc

if ! command -v pnpm >/dev/null; then
echo "Couldn't automatically set pnpm in your path"
Expand Down

0 comments on commit ee31b0f

Please sign in to comment.