[Popcon-developers] cleaning run_popcon

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Tue Jun 19 14:32:10 UTC 2007


Hello Petter,

I propose the patch below. I think the sh -c is a remain from the
time where /usr/sbin/popularity-contest was a shell script.

Index: debian/cron.weekly
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/cron.weekly,v
retrieving revision 1.19
diff -u -r1.19 cron.weekly
--- debian/cron.weekly  17 Mar 2007 18:15:55 -0000      1.19
+++ debian/cron.weekly  19 Jun 2007 14:26:21 -0000
@@ -30,7 +30,7 @@

 run_popcon()
 {
-       su -c "sh -c /usr/sbin/popularity-contest" nobody
+       su -c "/usr/sbin/popularity-contest" nobody
 }

 do_sendmail()

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list