summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 158f78f3..e5aeec01 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -356,7 +356,7 @@ sub add_urpmf_parameter {
# quote "+" chars for packages with + in their names
$p =~ s/\+/\\+/g;
}
- $::expr .= "m{$p}" . $::pattern;
+ $::expr .= ($::expr ? ' || ' : '') . "m{$p}" . $::pattern;
}
# common options setup