From 56bc04cae82ef55140eccb1a7287ca27d27bafd2 Mon Sep 17 00:00:00 2001 From: Robert Byrne Date: Wed, 22 Aug 2018 22:06:35 +0100 Subject: [PATCH] Fix checking if a brew is already installed --- mbpsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbpsetup.sh b/mbpsetup.sh index eb2a3e6..10e7bd6 100644 --- a/mbpsetup.sh +++ b/mbpsetup.sh @@ -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" }