From 42043953c3558f054dc5b9bb3da605a4a3ed6314 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Aug 2008 13:15:47 +0000 Subject: [PATCH] * Doh. --- scripts/copy-from-other-stores.pl.in | 1 + scripts/download-using-manifests.pl.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scripts/copy-from-other-stores.pl.in b/scripts/copy-from-other-stores.pl.in index 00de3ff99..5b695ea1a 100644 --- a/scripts/copy-from-other-stores.pl.in +++ b/scripts/copy-from-other-stores.pl.in @@ -73,6 +73,7 @@ if ($ARGV[0] eq "--query") { print "$deriver\n"; print scalar @references, "\n"; print "$_\n" foreach @references; + print "0\n"; # !!! showing size not supported (yet) } else { die "unknown command `$cmd'"; } diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in index e862a2d9f..f6bfb1e28 100644 --- a/scripts/download-using-manifests.pl.in +++ b/scripts/download-using-manifests.pl.in @@ -55,6 +55,8 @@ if ($ARGV[0] eq "--query") { my @references = split " ", $info->{references}; print scalar @references, "\n"; print "$_\n" foreach @references; + my $size = $info->{size} or 0; + print "$size\n"; } else { die "unknown command `$cmd'"; }