Permalink
Browse files

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

  • Loading branch information...
1 parent 45ef032 commit f6fa53d4c38e69cabfe4680d43893199bfc61ed9 @kaos kaos committed Nov 2, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 utils/installer.sh
View
@@ -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

0 comments on commit f6fa53d

Please sign in to comment.