Ensure cask-tidy runs nicely on non-installed machines.
This commit is contained in:
parent
453e1232d7
commit
ebf1369759
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
[ ! -x $(which brew) -a ! -d /opt/homebrew-cask ] && exit 1
|
[ ! -x "$(which brew 2>/dev/null)" -a ! -d /opt/homebrew-cask ] && exit 1
|
||||||
|
|
||||||
function __remove-cask {
|
function __remove-cask {
|
||||||
caskBasePath="/opt/homebrew-cask/Caskroom"
|
caskBasePath="/opt/homebrew-cask/Caskroom"
|
||||||
|
|
Loading…
Reference in a new issue