diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index de7c6a58..b676a891 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -347,6 +347,7 @@ sub add_urpmf_parameter { if ($::literal) { $p = quotemeta $p; } else { + $p =~ /\([^?|]*\)$/ and $urpm->{error}(N("by default urpmf awaits a regexp. you should use option \"--literal\"")); push @::raw_non_literals, $p; # quote "+" chars for packages with + in their names $p =~ s/\+/\\+/g; |