diff --git a/bin/cask-tidy b/bin/cask-tidy index 420ee5a..4c6eb9b 100755 --- a/bin/cask-tidy +++ b/bin/cask-tidy @@ -1,5 +1,7 @@ #!/bin/bash +[ ! -x $(which brew) -a ! -d /opt/homebrew-cask ] && exit 1 + function __remove-cask { caskBasePath="/opt/homebrew-cask/Caskroom" local cask="$1"