Ensure cask-tidy only runs if it makes sense.
This commit is contained in:
parent
f2f179ba08
commit
453e1232d7
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue