summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-25 08:43:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-25 08:43:56 +0000
commit799a15a213f6fcd36a5ba6667536afbc7203f338 (patch)
treeaf903bfbb2fa7bcbd96008c979fcb65121095f1c
parent04b86c0f359a94c46f6db54ed989333169d9b4c2 (diff)
downloadurpmi-799a15a213f6fcd36a5ba6667536afbc7203f338.tar
urpmi-799a15a213f6fcd36a5ba6667536afbc7203f338.tar.gz
urpmi-799a15a213f6fcd36a5ba6667536afbc7203f338.tar.bz2
urpmi-799a15a213f6fcd36a5ba6667536afbc7203f338.tar.xz
urpmi-799a15a213f6fcd36a5ba6667536afbc7203f338.zip
- urpmq:
o fix --list -r (#39287) (regression introduced in 5.7)
-rw-r--r--NEWS2
-rwxr-xr-xurpmq2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4758b208..cb3b95e1 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@
o handle displaying utf8 download progression in non-utf8 terminal
(ie clean the full line when we can't be sure of the number of characters
that will be displayed)
+- urpmq:
+ o fix --list -r (#39287) (regression introduced in 5.7)
- bash-completion (guillomovitch):
o don't complete on available packages if completed item is clearly a file
o only select available packages for selected medias
diff --git a/urpmq b/urpmq
index d1bc5f34..c45d5d9f 100755
--- a/urpmq
+++ b/urpmq
@@ -126,7 +126,7 @@ my $urpm = urpm->new_parse_cmdline or exit(1);
$urpm->{info} = sub { print STDERR "$_[0]\n" };
$urpm->{log} = sub { print STDERR "$_[0]\n" } if $options{verbose} > 0;
-my $only_list_name = $options{list} && !($options{version} && $options{release} && $options{arch});
+my $only_list_name = $options{list} && !($options{version} || $options{release} || $options{arch});
#- improve speed if using any list_... options.
$options{nodepslist} = $options{list_aliases}