Skip to content

Instantly share code, notes, and snippets.

@kotnik
Created March 13, 2013 12:59
Show Gist options
  • Save kotnik/5151836 to your computer and use it in GitHub Desktop.
Save kotnik/5151836 to your computer and use it in GitHub Desktop.
diff --git a/commands/core/site_install.drush.inc b/commands/core/site_install.drush.inc
index 4e607ac..d0620b8 100644
--- a/commands/core/site_install.drush.inc
+++ b/commands/core/site_install.drush.inc
@@ -36,10 +36,10 @@ function drush_core_pre_site_install($profile = NULL) {
$msg[] = dt('create a @settingsfile file', array('@settingsfile' => $settingsfile));
}
if (drush_sql_db_exists($db_spec)) {
- $msg[] = dt("DROP all tables in your '@db' database.", array('@db' => $db_spec['database']));
+ //$msg[] = dt("DROP all tables in your '@db' database.", array('@db' => $db_spec['database']));
}
else {
- $msg[] = dt("CREATE the '@db' database.", array('@db' => $db_spec['database']));
+ //$msg[] = dt("CREATE the '@db' database.", array('@db' => $db_spec['database']));
}
if (!drush_confirm(dt('You are about to ') . implode(dt(' and '), $msg) . ' Do you want to continue?
@@ -127,7 +127,7 @@ function drush_core_pre_site_install($profile = NULL) {
}
}
else {
- drush_sql_empty_db($db_spec);
+// drush_sql_empty_db($db_spec);
}
return TRUE;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment