From 256b6a30b5af407288cf3c3eaa857922d30e2a30 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 20 May 2005 05:52:25 +0000 Subject: Implement -RR in urpmq to search through virtual packages as well. (bug 15895) --- urpmq | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urpmq') diff --git a/urpmq b/urpmq index c212cde0..a1d4cca1 100755 --- a/urpmq +++ b/urpmq @@ -85,6 +85,7 @@ usage: ") . N(" -p - search in provides to find package. ") . N(" -r - print version and release with name also. ") . N(" -R - reverse search to what requires package. +") . N(" -RR - extended reverse search (includes virtual packages). ") . N(" -s - next package is a source package (same as --src). ") . N(" -u - remove package if a more recent version is already installed. ") . N(" -v - verbose mode. @@ -260,7 +261,7 @@ if ($urpm::args::options{list_aliases}) { #- NOTE. if the "provides" has no version specification, we happily #- assume that it can be skipped, because it most probably refers #- to a virtual package. - next if $s eq ''; + next if $s eq '' && $urpm::args::options{what_requires} <= 1; foreach (map { $urpm->{depslist}[$_] } grep { ! exists $state->{selected}{$_} && ! exists $properties{$_} } keys %{$requires{$n} || {}}) { -- cgit v1.2.1