Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yassinebenaid authored Feb 6, 2025
1 parent cb1bc4d commit 44b8d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/public/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ main() {
log "Extracting archive"
tar -xzf "$ARCHIVE"

if [ "$GLOBAL" == 1 ]; then
if [[ "$GLOBAL" == "1" ]]; then
log "Moving binary to /usr/local/bin"
sudo mv bunster /usr/local/bin/bunster
log "Installation complete!"
exit 0
fi

if [ $OS == "darwin" ]; then
if [[ "$OS" == "darwin" ]]; then
mkdir -p "$HOME/bin"
log "Moving binary to $HOME/bin/bunster"
mv bunster "$HOME/bin/bunster"
Expand Down

0 comments on commit 44b8d20

Please sign in to comment.