Merge pull request #224 from kaos/patch-1

utils/installer.sh: fix for replace existing config.
This commit is contained in:
Bozhidar Batsov 2012-11-15 00:11:38 -08:00
commit bfba8f79e1

View file

@ -188,13 +188,13 @@ then
# Overwrite existing?
if [ -n $PRELUDE_INTO ]
then
# Install into existing config
PRELUDE_INSTALL_DIR=$PRELUDE_INSTALL_DIR"/prelude"
install_prelude
else
# Replace existing config
install_prelude
make_prelude_dirs
else
# Install into existing config
PRELUDE_INSTALL_DIR=$PRELUDE_INSTALL_DIR"/prelude"
install_prelude
fi
elif [ -e $PRELUDE_INSTALL_DIR ]
then