Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.50
diff -u -p -r1.50 install.php
--- install.php	15 May 2007 15:29:47 -0000	1.50
+++ install.php	15 May 2007 18:26:38 -0000
@@ -615,8 +615,6 @@ function install_tasks($profile, $task) 
 
   if ($task == 'configure') {
     drupal_set_title(st('Configure site'));
-    // Build menu to allow clean URL check.
-    menu_rebuild();
 
     // We break the form up so we can tell when it's been successfully
     // submitted.
@@ -641,6 +639,8 @@ function install_tasks($profile, $task) 
 
     drupal_process_form('install_configure_form', $form, $form_state);
     if (empty($form_state['redirect'])) {
+      // Build menu to allow clean URL check.
+      menu_rebuild();
       $output = drupal_render_form('install_configure_form', $form);
     }
     else {
