summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-07 15:00:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-07 15:00:48 +0000
commitcf11c48eb0c9a63525868deb5a3c79a514883340 (patch)
tree9c74749784c8ead475b5493e46bed7bed1d400cd
parent4bb8e26eb81bbb9b47466b6202a28078937c03b6 (diff)
downloadurpmi-cf11c48eb0c9a63525868deb5a3c79a514883340.tar
urpmi-cf11c48eb0c9a63525868deb5a3c79a514883340.tar.gz
urpmi-cf11c48eb0c9a63525868deb5a3c79a514883340.tar.bz2
urpmi-cf11c48eb0c9a63525868deb5a3c79a514883340.tar.xz
urpmi-cf11c48eb0c9a63525868deb5a3c79a514883340.zip
fix "urpme -a" (bug introduced in r243154 2008-07-02)
-rw-r--r--urpme2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpme b/urpme
index 5ec2548f..1e559d59 100644
--- a/urpme
+++ b/urpme
@@ -62,7 +62,7 @@ usage:
my @origARGV = @ARGV;
my $urpm = urpm->new_parse_cmdline or exit(1);
my @cmdline_pkgs_to_remove = @ARGV;
-@cmdline_pkgs_to_remove or usage();
+@cmdline_pkgs_to_remove || $options{matches} or usage();
my $state = {};