summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-26 14:36:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-26 14:36:57 +0000
commitde30d10b40a5db24883762c45897bd9d8d3fb9b9 (patch)
tree567a779e9ded25a227e28fd2b87954f91bec2744
parent3b31550db6e692c98c1ec9720a29b5fe0a6dfe98 (diff)
downloadurpmi-de30d10b40a5db24883762c45897bd9d8d3fb9b9.tar
urpmi-de30d10b40a5db24883762c45897bd9d8d3fb9b9.tar.gz
urpmi-de30d10b40a5db24883762c45897bd9d8d3fb9b9.tar.bz2
urpmi-de30d10b40a5db24883762c45897bd9d8d3fb9b9.tar.xz
urpmi-de30d10b40a5db24883762c45897bd9d8d3fb9b9.zip
Avoid "urpmq -R" to walk through virtual provides; now only walk through
provides that have an explicit comparison to a version number.
-rwxr-xr-xurpmq1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmq b/urpmq
index 1850d1ec..00c66c75 100755
--- a/urpmq
+++ b/urpmq
@@ -257,6 +257,7 @@ if ($urpm::args::options{list_aliases}) {
#- for all provides of package, look up what is requiring them.
foreach ($pkg->provides) {
if (my ($n, $s) = /^([^\s\[]*)(?:\[\*\])?\[?([^\s\]]*\s*[^\s\]]*)/) {
+ next if $s eq '';
foreach (map { $urpm->{depslist}[$_] }
grep { ! exists $state->{selected}{$_} && ! exists $properties{$_} }
keys %{$requires{$n} || {}}) {