diff options
author | Alan Pearce | 2015-07-18 21:38:39 +0200 |
---|---|---|
committer | Alan Pearce | 2015-07-18 21:38:39 +0200 |
commit | 2e96e919e9cff6c70564908ebe2d8fa887680fae (patch) | |
tree | ab507c10bd30f9ceb939fd405c8668ae839e9a77 /hooks | |
parent | e989bb41e34eeba711047a0263cbfb224bb4beee (diff) | |
download | nixfiles-2e96e919e9cff6c70564908ebe2d8fa887680fae.tar.lz nixfiles-2e96e919e9cff6c70564908ebe2d8fa887680fae.tar.zst nixfiles-2e96e919e9cff6c70564908ebe2d8fa887680fae.zip |
RCM: Detect Emacs Cask by folder existance
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/post-up/emacs | 2 |
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 ]] |