Only in drupal/: .DS_Store
Only in drupal/includes: installed.inc
diff -ur drupal-cvs/index.php drupal/index.php
--- drupal-cvs/index.php	2006-02-17 17:00:08.000000000 -0800
+++ drupal/index.php	2006-07-16 11:26:58.000000000 -0700
@@ -8,28 +8,35 @@
  * The routines here dispatch control to the appropriate handler, which then
  * prints the appropriate page.
  */
+ 
+require_once './includes/installed.inc';
 
-require_once './includes/bootstrap.inc';
-drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
-
-$return = menu_execute_active_handler();
-switch ($return) {
-  case MENU_NOT_FOUND:
-    drupal_not_found();
-    break;
-  case MENU_ACCESS_DENIED:
-    drupal_access_denied();
-    break;
-  case MENU_SITE_OFFLINE:
-    drupal_site_offline();
-    break;
-  default:
-    // Print any value (including an empty string) except NULL or undefined:
-    if (isset($return)) {
-      print theme('page', $return);
-    }
-    break;
+if($installed != 0)
+{
+ require_once './includes/bootstrap.inc';
+ drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
+ $return = menu_execute_active_handler();
+ switch ($return) {
+   case MENU_NOT_FOUND:
+     drupal_not_found();
+     break;
+   case MENU_ACCESS_DENIED:
+     drupal_access_denied();
+     break;
+   case MENU_SITE_OFFLINE:
+     drupal_site_offline();
+     break;
+   default:
+     // Print any value (including an empty string) except NULL or undefined:
+     if (isset($return)) {
+       print theme('page', $return);
+     }
+     break;
+ }
+}
+else
+{
+ include('./install.php');
 }
-
 drupal_page_footer();
 
diff -ur drupal-cvs/install.php drupal/install.php
--- drupal-cvs/install.php	2006-07-13 06:11:36.000000000 -0700
+++ drupal/install.php	2006-07-16 11:27:50.000000000 -0700
@@ -397,6 +397,13 @@
     $output .= strtr('<p>'. $msg .'</p>', array('%url' => url('')));
   }
 
+  $installedtext = "<?php
+?>";
+  
+  $installedinc = fopen("./includes/installed.inc", "w");
+  fputs($installedinc, $installedtext);
+  fclose($installedinc);
+  
   // Output page.
   print theme('maintenance_page', $output);
 }
Only in drupal/profiles: .DS_Store
Only in drupal/sites: .DS_Store
Only in drupal/sites/default: .DS_Store
Only in drupal/themes: .DS_Store
