summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-02-27 11:04:30 +0000
committerFrancois Pons <fpons@mandriva.com>2002-02-27 11:04:30 +0000
commitf1a0fe2b76e7356afdb53697efa3e3228a09630f (patch)
tree62a35d10fdc5387103288de269b89286a223fa76 /urpm.pm
parent29b5225326a921680be86f22be46d3b753efe567 (diff)
downloadurpmi-f1a0fe2b76e7356afdb53697efa3e3228a09630f.tar
urpmi-f1a0fe2b76e7356afdb53697efa3e3228a09630f.tar.gz
urpmi-f1a0fe2b76e7356afdb53697efa3e3228a09630f.tar.bz2
urpmi-f1a0fe2b76e7356afdb53697efa3e3228a09630f.tar.xz
urpmi-f1a0fe2b76e7356afdb53697efa3e3228a09630f.zip
3.3-16mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 40853d54..0494201a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1008,7 +1008,7 @@ sub update_media {
foreach my $file (keys %{$urpm->{params}{provides}}) {
$file =~ /^\// or next;
foreach (keys %{$urpm->{params}{provides}{$file} || {}}) {
- eval { push @{$urpm->{params}{info}{$_}{provides}}, $file };
+ eval { push @{$urpm->{params}{info}{$_}{provides}}, $file }; #- HACK
}
}
@@ -1451,7 +1451,7 @@ sub parse_synthesis {
#- an already existing entries has been found, so
#- add additional information (except name or info).
foreach my $tag (keys %info) {
- $tag ne 'name' && $tag ne 'info' and $found->{$tag} ||= $info{$tag};
+ eval { $tag ne 'name' && $tag ne 'info' and $found->{$tag} ||= $info{$tag}; }; #- HACK
}
$serial and $found->{serial} ||= $serial;
$size and $found->{size} ||= $size;