Browse Source

Fix condition for "if prelude alredy installed"

We need check for file existence not for directory
custom
Anton Ilin 11 years ago
parent
commit
52131e032c
  1. 2
      utils/installer.sh

2
utils/installer.sh

@ -149,7 +149,7 @@ then
fi
# If prelude is already installed
if [ -d "$PRELUDE_INSTALL_DIR/core/prelude-core.el" ]
if [ -f "$PRELUDE_INSTALL_DIR/core/prelude-core.el" ]
then
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"

Loading…
Cancel
Save