summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-27 13:40:34 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-27 13:40:34 +0000
commit01c4f00df0dfd8e4cd98050601b04d9116636289 (patch)
treefda7a4a36eb9ecb32890e12fb698e7ed4e86f696
parenta2e352a80301a243c139f50b75a5bdfcafd86ad9 (diff)
downloadurpmi-01c4f00df0dfd8e4cd98050601b04d9116636289.tar
urpmi-01c4f00df0dfd8e4cd98050601b04d9116636289.tar.gz
urpmi-01c4f00df0dfd8e4cd98050601b04d9116636289.tar.bz2
urpmi-01c4f00df0dfd8e4cd98050601b04d9116636289.tar.xz
urpmi-01c4f00df0dfd8e4cd98050601b04d9116636289.zip
Update comments to be in line with latest urpmq -R changes
-rwxr-xr-xurpmq4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index 5d9eb540..6ef555f8 100755
--- a/urpmq
+++ b/urpmq
@@ -211,7 +211,6 @@ if ($urpm::args::options{list_aliases}) {
};
#- open/close of database should be moved here, in order to allow testing
#- some bogus case and check for integrity. (note auto_select implies upgrade).
- #- XXX this is broken
if ($urpm::args::options{what_requires}) {
#- search for packages that require one of the proposed packages.
my (@properties, %requires, %properties, $dep);
@@ -259,6 +258,9 @@ 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\]]*)/) {
+ #- 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 '';
foreach (map { $urpm->{depslist}[$_] }
grep { ! exists $state->{selected}{$_} && ! exists $properties{$_} }