From 2e96e919e9cff6c70564908ebe2d8fa887680fae Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 18 Jul 2015 21:38:39 +0200 Subject: RCM: Detect Emacs Cask by folder existance --- hooks/post-up/emacs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs index 0bd4d56..b8a8edc 100755 --- a/hooks/post-up/emacs +++ b/hooks/post-up/emacs @@ -2,7 +2,7 @@ if [[ -s $commands[emacs] ]] then - if [[ -z $commands[cask] ]] + if [[ ! -d ~/cask ]] then git clone git://github.com/cask/cask ~/.cask if [[ ! -d ~/bin ]] -- cgit 1.4.1