summary refs log tree commit diff stats
path: root/hooks/post-up/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-up/emacs')
-rwxr-xr-xhooks/post-up/emacs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs
index 0bd4d567..b8a8edc7 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 ]]