From 058537743aaff6794affb7514caffd340310418a Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Fri, 11 May 2012 22:44:43 +0300 Subject: [PATCH] fixed #150 - installer check --- utils/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/installer.sh b/utils/installer.sh index 66ad4da..3abb9ff 100755 --- a/utils/installer.sh +++ b/utils/installer.sh @@ -1,7 +1,7 @@ PRELUDE_INSTALL_DIR="$HOME/.emacs.d" PRELUDE_URL=https://github.com/bbatsov/prelude.git -if [ -d $PRELUDE_INSTALL_DIR ] +if [ -d $PRELUDE_INSTALL_DIR/prelude ] 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" exit 1;