-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

found 534462 6.6-3lenny3
tags 534462 patch
thanks

Please find below a patch to address the issue for the default site,
including the 'all' site (see #513522).
As far as I can see this is not only in etch-backports, but in lenny too.

Choose for yourself whether you would like to do it this way or as in
#513522. I believe this code is clearer, especially in case one would
need to add more exceptions in the future (the if statement in #513522
might become lengthy).

- --- cron.sh     2009-08-05 02:52:15.000000000 +0200
+++ /usr/local/share/drupal6/scripts/cron.sh    2009-12-16
02:46:36.000000000 +0100
@@ -4,6 +4,9 @@
 for site in /etc/drupal/6/sites/* ; do
        BASE_URL=""

+       [ "`basename $site`" = "all" ] && continue;
+       [ "`basename $site`" = "default" ] && continue;
+
        for file in $site/baseurl.php $site/settings.php; do
                [ -f "$file" ] && BASE_URL=`grep '^$base_url' $file |
cut -d"'" -f2`
                [ "X$BASE_URL" != "X" ] && break
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFLKD56iX4Eavd4hCYRAviXAJ9EfGj19wX097/shzC0K8ZpQZkZtgCfbH4Y
jrlCp9wUEaTXfpk/NeTN0NI=
=2Fk7
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to