[Popcon-developers] Bug#529393: Should not use obsolete dpkg --print-installation-architecture in /etc/cron.daily/popularity-contest

Ross Vandegrift ross at kallisti.us
Thu Jun 11 13:46:00 UTC 2009


The fix for popularity-contest is trivial.

rvandegrift at malaclypse:/usr/sbin$ diff -u popularity-contest popularity-contest.orig 
--- popularity-contest	2009-06-11 09:42:14.000000000 -0400
+++ popularity-contest.orig	2009-06-11 09:42:08.000000000 -0400
@@ -55,7 +55,7 @@
 }
 
 # Architecture.
-my $debarch = `dpkg --print-architecture`;
+my $debarch = `dpkg --print-installation-architecture`;
 chomp $debarch;
 
 # Popcon release

Ross
-- 
Ross Vandegrift
ross at kallisti.us

"If the fight gets hot, the songs get hotter.  If the going gets tough,
the songs get tougher."
	--Woody Guthrie





More information about the Popcon-developers mailing list