Author: adam-guest
Date: 2008-03-26 18:19:22 +0000 (Wed, 26 Mar 2008)
New Revision: 1206
Modified:
trunk/debian/changelog
trunk/scripts/dget.pl
Log:
dget: Pass --all-versions to apt-cache show in case the user has
configured it to only show the candidate version. Thanks Håkon Stordahl
(Closes: #472747)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-03-25 21:42:38 UTC (rev 1205)
+++ trunk/debian/changelog 2008-03-26 18:19:22 UTC (rev 1206)
@@ -9,6 +9,9 @@
+ Tighten the "repository owner" regex for darcs.d.o to correctly check
http://darcs.d.o/~foo/bar/baz against user foo
+ Ignore a repository owner mismatch in "print mode"
+ * dget: Pass --all-versions to apt-cache show in case the user has
+ configured it to only show the candidate version. Thanks Håkon Stordahl
+ (Closes: #472747)
-- Adam D. Barratt <[EMAIL PROTECTED]> Tue, 25 Mar 2008 18:51:59 +0000
Modified: trunk/scripts/dget.pl
===================================================================
--- trunk/scripts/dget.pl 2008-03-25 21:42:38 UTC (rev 1205)
+++ trunk/scripts/dget.pl 2008-03-26 18:19:22 UTC (rev 1206)
@@ -273,7 +273,8 @@
die "$progname: no hostnames in apt-cache policy $package for $version
found\n";
}
- $apt = new IO::File("LC_ALL=C apt-cache show $package |") or die "$!";
+ $apt = new IO::File("LC_ALL=C apt-cache --all-versions show $package |")
+ or die "$!";
my ($v, $p, $filename, $md5sum);
while (<$apt>) {
if (/^Package: $qpackage$/) {
--
To unsubscribe, send mail to [EMAIL PROTECTED]