diff --git a/utils/installer.sh b/utils/installer.sh index 2dd1266..234639f 100755 --- a/utils/installer.sh +++ b/utils/installer.sh @@ -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