Index: database/updates.inc
===================================================================
RCS file: /cvs/drupal/drupal/database/updates.inc,v
retrieving revision 1.48
diff -u -r1.48 updates.inc
--- database/updates.inc	21 Aug 2004 19:52:46 -0000	1.48
+++ database/updates.inc	22 Aug 2004 14:57:48 -0000
@@ -1532,8 +1532,8 @@
   $ret = array();
   if (variable_get('theme_default', 'xtemplate') == 'chameleon') {
     $ret[] = update_sql("DELETE FROM {system} WHERE name = 'chameleon'");
-    $ret[] = update_sql("INSERT INTO system VALUES ('themes/chameleon/chameleon.theme','chameleon','theme','',1,0,0)");
-    $ret[] = update_sql("INSERT INTO system VALUES ('themes/chameleon/marvin/style.css','marvin','theme','themes/chameleon/chameleon.theme',1,0,0)");
+    $ret[] = update_sql("INSERT INTO {system} VALUES ('themes/chameleon/chameleon.theme','chameleon','theme','',1,0,0)");
+    $ret[] = update_sql("INSERT INTO {system} VALUES ('themes/chameleon/marvin/style.css','marvin','theme','themes/chameleon/chameleon.theme',1,0,0)");
     if (variable_get("chameleon_stylesheet", "themes/chameleon/pure/chameleon.css") == "themes/chameleon/marvin/chameleon.css") {
       variable_set('theme_default', 'chameleon/marvin');
     }
@@ -1543,9 +1543,9 @@
   }
   elseif (variable_get('theme_default', 'xtemplate') == 'xtemplate') {
     $ret[] = update_sql("DELETE FROM {system} WHERE name = 'xtemplate'");
-    $ret[] = update_sql("INSERT INTO system VALUES ('themes/bluemarine/bluemarine.theme','bluemarine','theme','themes/engines/xtemplate/xtemplate.engine',1,0,0)");
-    $ret[] = update_sql("INSERT INTO system VALUES ('themes/pushbutton/pushbutton.theme','pushbutton','theme','themes/engines/xtemplate/xtemplate.engine',1,0,0)");
-    $ret[] = update_sql("INSERT INTO system VALUES ('themes/engines/xtemplate/xtemplate.engine','xtemplate','theme_engine','',1,0,0)");
+    $ret[] = update_sql("INSERT INTO {system} VALUES ('themes/bluemarine/bluemarine.theme','bluemarine','theme','themes/engines/xtemplate/xtemplate.engine',1,0,0)");
+    $ret[] = update_sql("INSERT INTO {system} VALUES ('themes/pushbutton/pushbutton.theme','pushbutton','theme','themes/engines/xtemplate/xtemplate.engine',1,0,0)");
+    $ret[] = update_sql("INSERT INTO {system} VALUES ('themes/engines/xtemplate/xtemplate.engine','xtemplate','theme_engine','',1,0,0)");
     if (variable_get('xtemplate_template', 'default') == 'pushbutton') {
       variable_set('theme_default', 'pushbutton');
     }
