summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-15 14:35:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-15 14:35:30 +0000
commitfee82a455ebff572a83a7d034759692dc0cdf446 (patch)
tree091300327642662ae27704b0a54c73fa8b82ea94 /urpmq
parentd0a7b8677e5716b9b894798bfc352c4acc2f7bc6 (diff)
downloadurpmi-fee82a455ebff572a83a7d034759692dc0cdf446.tar
urpmi-fee82a455ebff572a83a7d034759692dc0cdf446.tar.gz
urpmi-fee82a455ebff572a83a7d034759692dc0cdf446.tar.bz2
urpmi-fee82a455ebff572a83a7d034759692dc0cdf446.tar.xz
urpmi-fee82a455ebff572a83a7d034759692dc0cdf446.zip
- urpmq
o fix --list (regression introduced in 5.0) (those lines were wrongly dropped in r232614 2007-12-19)
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq3
1 files changed, 3 insertions, 0 deletions
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);