summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-01-26 22:48:22 +0000
committerOlivier Blin <oblin@mandriva.org>2004-01-26 22:48:22 +0000
commit4288fbd2f7523c95cbbff73ee6c8a677aad7f646 (patch)
tree16a82cce45d3450237787ba1b0159ad8eccd5be8
parent53855148fed28b1e37417b7c3da3979e21bbdae4 (diff)
downloadurpmi-4288fbd2f7523c95cbbff73ee6c8a677aad7f646.tar
urpmi-4288fbd2f7523c95cbbff73ee6c8a677aad7f646.tar.gz
urpmi-4288fbd2f7523c95cbbff73ee6c8a677aad7f646.tar.bz2
urpmi-4288fbd2f7523c95cbbff73ee6c8a677aad7f646.tar.xz
urpmi-4288fbd2f7523c95cbbff73ee6c8a677aad7f646.zip
perl_checker fix
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index d8dd1580..624f0433 100755
--- a/urpmq
+++ b/urpmq
@@ -380,7 +380,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;
+ $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->[$_]})) {