From de30d10b40a5db24883762c45897bd9d8d3fb9b9 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 26 Jan 2005 14:36:57 +0000 Subject: Avoid "urpmq -R" to walk through virtual provides; now only walk through provides that have an explicit comparison to a version number. --- urpmq | 1 + 1 file changed, 1 insertion(+) (limited to 'urpmq') 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} || {}}) { -- cgit v1.2.1