summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-01-20 22:26:57 +0000
committerOlivier Blin <oblin@mandriva.org>2004-01-20 22:26:57 +0000
commit224f6b3ff450cef6826148a31f4bd2e42b0f8ebe (patch)
tree1007c50f089f6dd78797c9841297a533705cbab8
parent3ae23e96df79c32d0e31945b925eab971b41a5ff (diff)
downloadurpmi-224f6b3ff450cef6826148a31f4bd2e42b0f8ebe.tar
urpmi-224f6b3ff450cef6826148a31f4bd2e42b0f8ebe.tar.gz
urpmi-224f6b3ff450cef6826148a31f4bd2e42b0f8ebe.tar.bz2
urpmi-224f6b3ff450cef6826148a31f4bd2e42b0f8ebe.tar.xz
urpmi-224f6b3ff450cef6826148a31f4bd2e42b0f8ebe.zip
fix urpmq -i on media with synthesis hdlist
-rwxr-xr-xurpmq1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmq b/urpmq
index 668c7470..f03b29f9 100755
--- a/urpmq
+++ b/urpmq
@@ -383,6 +383,7 @@ if ($query->{list_aliases}) {
# if not root, use a temporary directory to store headers
$< != 0 and my $tmp_header_dir = chomp_(`mktemp -d /tmp/urpmq.XXXXXX`);
foreach (0..$#{$urpm->{media} || []}) {
+ $urpm->{media}[$_]->{synthesis} and next;
if (my @headers = (grep { my $file = "$urpm->{cachedir}/headers/$_"; ! -s $file }
map { my $pkg = $urpm->{depslist}[$_];
$pkg && $pkg->header_filename } keys %{$list->[$_]})) {