From 8082ff305e7973b52c816cea5d61923deccc1fa6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 13 Oct 2005 13:40:28 +0000 Subject: Allow ! ( ) as well as -! -( -) as arguments to urpmf (backwards compat) --- urpm/args.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/args.pm') diff --git a/urpm/args.pm b/urpm/args.pm index 460adfbb..1e0978f3 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -167,7 +167,7 @@ my %options_spec = ( o => sub { $::expr .= ' || ' }, '<>' => sub { my $p = shift; - if ($p =~ /^-([!()])$/) { + if ($p =~ /^-?([!()])$/) { # This is for -! -( -) $::expr .= $1; } -- cgit v1.2.1