summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-07-18 21:38:39 +0200
committerAlan Pearce2015-07-18 21:38:39 +0200
commit2e96e919e9cff6c70564908ebe2d8fa887680fae (patch)
treeab507c10bd30f9ceb939fd405c8668ae839e9a77
parente989bb41e34eeba711047a0263cbfb224bb4beee (diff)
downloaddotfiles-2e96e919e9cff6c70564908ebe2d8fa887680fae.tar.lz
dotfiles-2e96e919e9cff6c70564908ebe2d8fa887680fae.tar.zst
dotfiles-2e96e919e9cff6c70564908ebe2d8fa887680fae.zip
RCM: Detect Emacs Cask by folder existance
-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 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 ]]