summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-04-10 19:49:31 +0100
committerAlan Pearce2014-04-10 19:49:31 +0100
commit33ee27f011374d07f8c5f6508dc1d08d8e9a188e (patch)
treecb0913d720496e681c25a0fabf5720ed2743a2e9
parentd36c31e50e28d2b244344d983dfc5c3fd834adb7 (diff)
downloaddotfiles-33ee27f011374d07f8c5f6508dc1d08d8e9a188e.tar.lz
dotfiles-33ee27f011374d07f8c5f6508dc1d08d8e9a188e.tar.zst
dotfiles-33ee27f011374d07f8c5f6508dc1d08d8e9a188e.zip
Installer: fix emacs detection
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 32a4f26..9da7384 100755
--- a/install
+++ b/install
@@ -50,7 +50,7 @@ then
 	install-dot projects/dwm/ $target/dwm/*
 fi
 
-if [[ -x =emacs ]]
+if [[ -z $commands[emacs] ]]
 then
 	emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/
 fi