OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   09-May-2008 14:12:24
  Branch: HEAD                             Handle: 2008050913122400

  Modified files:
    openpkg-src/drupal      drupal.patch

  Log:
    try to disable update notifications during install

  Summary:
    Revision    Changes     Path
    1.8         +18 -1      openpkg-src/drupal/drupal.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/drupal/drupal.patch
  ============================================================================
  $ cvs diff -u -r1.7 -r1.8 drupal.patch
  --- openpkg-src/drupal/drupal.patch   3 May 2008 08:46:37 -0000       1.7
  +++ openpkg-src/drupal/drupal.patch   9 May 2008 12:12:24 -0000       1.8
  @@ -330,7 +330,7 @@
   --- /dev/null        2008-05-02 21:08:21 +0200
   +++ sites/all/modules/img_assist/img_assist_popup.js 2008-05-02 21:05:56 
+0200
   @@ -0,0 +1,20 @@
  -+/* $Id: drupal.patch,v 1.7 2008/05/03 08:46:37 rse Exp $ */
  ++/* $Id: drupal.patch,v 1.8 2008/05/09 12:12:24 rse Exp $ */
   +
   +function launch_popup(nid, mw, mh) {
   +    var ox = mw;
  @@ -408,3 +408,20 @@
          );
        }
   
  +-----------------------------------------------------------------------------
  +
  +Disable "Update notifications" check by default during installation.
  +
  +Index: install.php
  +--- install.php.orig 2008-02-08 23:00:45 +0100
  ++++ install.php      2008-05-09 13:18:09 +0200
  +@@ -1069,7 +1069,7 @@
  +     '#type' => 'checkboxes',
  +     '#title' => st('Update notifications'),
  +     '#options' => array(1 => st('Check for updates automatically')),
  +-    '#default_value' => array(1),
  ++    '#default_value' => array(),
  +     '#description' => st('With this option enabled, Drupal will notify you 
when new releases are available. This will significantly enhance your site\'s 
security and is <strong>highly recommended</strong>. This requires your site to 
periodically send anonymous information on its installed components to <a 
href="@drupal">drupal.org</a>. For more information please see the <a 
href="@update">update notification information</a>.', array('@drupal' => 
'http://drupal.org', '@update' => 'http://drupal.org/handbook/modules/update')),
  +     '#weight' => 15,
  +   );
  +
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to