Skip to content
This repository
Browse code

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

  • Loading branch information...
commit f6fa53d4c38e69cabfe4680d43893199bfc61ed9 1 parent 45ef032
Andreas Stenius authored November 02, 2012

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  utils/installer.sh
8  utils/installer.sh
@@ -188,13 +188,13 @@ then
188 188
     # Overwrite existing?
189 189
     if [ -n $PRELUDE_INTO ]
190 190
     then
191  
-	# Install into existing config
192  
-	PRELUDE_INSTALL_DIR=$PRELUDE_INSTALL_DIR"/prelude"
193  
-	install_prelude
194  
-    else
195 191
 	# Replace existing config
196 192
 	install_prelude
197 193
 	make_prelude_dirs
  194
+    else
  195
+	# Install into existing config
  196
+	PRELUDE_INSTALL_DIR=$PRELUDE_INSTALL_DIR"/prelude"
  197
+	install_prelude
198 198
     fi
199 199
 elif [ -e $PRELUDE_INSTALL_DIR ]
200 200
 then

0 notes on commit f6fa53d

Please sign in to comment.
Something went wrong with that request. Please try again.