Skip to content

Commit

Permalink
Fix checking if a brew is already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
byrney committed Aug 22, 2018
1 parent daa0b50 commit 56bc04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbpsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function inst_brew() {
local title="$1"
local pkg="$1"
local cmd="brew install $pkg"
local check="brew list -local | grep -iw $pkg"
local check="brew list | grep -iw $pkg"
once "$title" "$check" "$cmd"
}

Expand Down

0 comments on commit 56bc04c

Please sign in to comment.