From fee82a455ebff572a83a7d034759692dc0cdf446 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 15 Jan 2008 14:35:30 +0000 Subject: - urpmq o fix --list (regression introduced in 5.0) (those lines were wrongly dropped in r232614 2007-12-19) --- NEWS | 1 + urpmq | 3 +++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index b3b49029..0117e935 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ - urpmq: o add --sourcerpm o deprecate "urpmq --requires", "urpmq -R" and "urpmq -RR" + o fix --list (regression introduced in 5.0) Version 5.0 - 11 January 2008, by Pascal "Pixel" Rigaux diff --git a/urpmq b/urpmq index df9c3462..e32b3728 100755 --- a/urpmq +++ b/urpmq @@ -197,6 +197,9 @@ if ($options{list_aliases}) { print "\n"; } exit 0; +} elsif ($options{list}) { + # --list lists all available packages: select them all + @{$state->{selected}}{0 .. $#{$urpm->{depslist}}} = (); } else { %requested = $urpm->register_rpms(@files); -- cgit v1.2.1