Index: update.php
===================================================================
RCS file: /cvs/drupal/drupal/update.php,v
retrieving revision 1.189
diff -u -p -r1.189 update.php
--- update.php	20 Jun 2006 21:15:44 -0000	1.189
+++ update.php	2 Jul 2006 21:08:49 -0000
@@ -674,7 +674,7 @@ update_fix_access_table();
 ini_set('display_errors', TRUE);
 
 // Access check:
-if (($access_check == FALSE) || ($user->uid == 1)) {
+if (($access_check == FALSE) || user_access('administer site configuration')) {
 
   include_once './includes/install.inc';
 
