fixed #150 - installer check
This commit is contained in:
parent
6fedc0ec70
commit
058537743a
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
PRELUDE_INSTALL_DIR="$HOME/.emacs.d"
|
PRELUDE_INSTALL_DIR="$HOME/.emacs.d"
|
||||||
PRELUDE_URL=https://github.com/bbatsov/prelude.git
|
PRELUDE_URL=https://github.com/bbatsov/prelude.git
|
||||||
|
|
||||||
if [ -d $PRELUDE_INSTALL_DIR ]
|
if [ -d $PRELUDE_INSTALL_DIR/prelude ]
|
||||||
then
|
then
|
||||||
printf "\e[33m You already have Prelude installed.\e[0m You'll need to remove $PRELUDE_INSTALL_DIR if you want to install Prelude again.\n"
|
printf "\e[33m You already have Prelude installed.\e[0m You'll need to remove $PRELUDE_INSTALL_DIR if you want to install Prelude again.\n"
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|
Loading…
Reference in a new issue