[Popcon-commits] cvs commit to popularity-contest/debian by ballombe
ballombe at cvs.alioth.debian.org
ballombe at cvs.alioth.debian.org
Tue Jan 8 17:01:46 UTC 2008
Update of /cvsroot/popcon/popularity-contest/debian
In directory alioth:/tmp/cvs-serv17058/debian
Modified Files:
changelog cron.weekly
Log Message:
Add support for HTTP_PROXY
Index: changelog
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/changelog,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -d -r1.373 -r1.374
--- changelog 30 Nov 2007 10:33:01 -0000 1.373
+++ changelog 8 Jan 2008 17:01:44 -0000 1.374
@@ -12,8 +12,10 @@
* cron.weekly, function run_popcon():
- remove spurious 'sh -c'
- add -s /bin/sh in case nobody has no shell. Closes: #429405, #431867.
+ * cron.weekly, default.conf, FAQ:
+ - Add support for HTTP_PROXY. Closes: #365681.
- -- Bill Allombert <ballombe at debian.org> Tue, 19 Jun 2007 17:04:48 +0200
+ -- Bill Allombert <ballombe at debian.org> Fri, 30 Nov 2007 11:33:58 +0100
popularity-contest (1.42) unstable; urgency=low
Index: cron.weekly
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/cron.weekly,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- cron.weekly 30 Nov 2007 10:15:09 -0000 1.21
+++ cron.weekly 8 Jan 2008 17:01:44 -0000 1.22
@@ -22,6 +22,10 @@
# don't run if PARTICIPATE is "no" or unset!
[ "$PARTICIPATE" = "no" ] || [ -z "$PARTICIPATE" ] && exit 0
+if [ -n "$HTTP_PROXY" ]; then
+ export http_proxy="$HTTP_PROXY";
+fi
+
# keep old logs
cd /var/log
umask 022
More information about the Popcon-commits
mailing list