fix(bud/install-doom): change -x to ! -d
This commit is contained in:
parent
72e7f0b5e6
commit
724f2a8bb7
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ -x $XDG_CONFIG_HOME/emacs ]; then
|
if [ ! -d $XDG_CONFIG_HOME/emacs ]; then
|
||||||
git clone --depth 1 https://github.com/hlissner/doom-emacs $XDG_CONFIG_HOME/emacs
|
git clone --depth 1 https://github.com/hlissner/doom-emacs $XDG_CONFIG_HOME/emacs
|
||||||
$XDG_CONFIG_HOME/emacs/bin/doom install "$@"
|
$XDG_CONFIG_HOME/emacs/bin/doom install "$@"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue