Skip to content

Commit

Permalink
fix: replace profile brew.sh on just brew command (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen authored Feb 29, 2024
1 parent 968b17f commit 874a5d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions just/custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ brew:
echo "Capitalization matters when you type \"YES I UNDERSTAND\""
fi
fi
# if /etc/profile.d/brew.sh already exists, replace it with /usr/etc/profile.d/brew.sh
if [ -f /etc/profile.d/brew.sh ]; then
if [ -f /usr/etc/profile.d/brew.sh ]; then
sudo cp /usr/etc/profile.d/brew.sh /etc/profile.d/brew.sh
fi
fi

# Install "fleek" set of packages for brew | none, low, default, high
brew-fleek level="high":
Expand Down

0 comments on commit 874a5d2

Please sign in to comment.