diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-26 14:36:57 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-26 14:36:57 +0000 |
commit | de30d10b40a5db24883762c45897bd9d8d3fb9b9 (patch) | |
tree | 567a779e9ded25a227e28fd2b87954f91bec2744 | |
parent | 3b31550db6e692c98c1ec9720a29b5fe0a6dfe98 (diff) | |
download | urpmi-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-x | urpmq | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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} || {}}) { |