utils/installer.sh: fix for replace existing config.

This commit is contained in:
Andreas Stenius 2012-11-02 11:25:23 +01:00
parent 45ef0320e5
commit f6fa53d4c3

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