Merge pull request #772 from bronislav/patch-1

Fix condition for "if prelude alredy installed" in the installer
This commit is contained in:
Bozhidar Batsov 2015-01-10 23:05:03 +02:00
commit 93b7bed6ff

View file

@ -149,7 +149,7 @@ then
fi fi
# If prelude is already installed # If prelude is already installed
if [ -d "$PRELUDE_INSTALL_DIR/core/prelude-core.el" ] if [ -f "$PRELUDE_INSTALL_DIR/core/prelude-core.el" ]
then then
printf "\n\n$BRED" printf "\n\n$BRED"
printf "You already have Prelude installed.$RESET\nYou'll need to remove $PRELUDE_INSTALL_DIR/prelude if you want to install Prelude again.\n" printf "You already have Prelude installed.$RESET\nYou'll need to remove $PRELUDE_INSTALL_DIR/prelude if you want to install Prelude again.\n"