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? # Overwrite existing?
if [ -n $PRELUDE_INTO ] if [ -n $PRELUDE_INTO ]
then then
# Install into existing config
PRELUDE_INSTALL_DIR=$PRELUDE_INSTALL_DIR"/prelude"
install_prelude
else
# Replace existing config # Replace existing config
install_prelude install_prelude
make_prelude_dirs make_prelude_dirs
else
# Install into existing config
PRELUDE_INSTALL_DIR=$PRELUDE_INSTALL_DIR"/prelude"
install_prelude
fi fi
elif [ -e $PRELUDE_INSTALL_DIR ] elif [ -e $PRELUDE_INSTALL_DIR ]
then then