summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-03 10:14:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-03 10:14:54 +0000
commit5fce76fb3ad04f7a7de34c7b3c276b360e2a6ccb (patch)
tree562f0560f36f8a4a8fbb7e291d9c7c19745ce29a /urpm
parent61ce39b82305fb298fca29872edb39f621150008 (diff)
downloadurpmi-5fce76fb3ad04f7a7de34c7b3c276b360e2a6ccb.tar
urpmi-5fce76fb3ad04f7a7de34c7b3c276b360e2a6ccb.tar.gz
urpmi-5fce76fb3ad04f7a7de34c7b3c276b360e2a6ccb.tar.bz2
urpmi-5fce76fb3ad04f7a7de34c7b3c276b360e2a6ccb.tar.xz
urpmi-5fce76fb3ad04f7a7de34c7b3c276b360e2a6ccb.zip
- urpmf:
o fix searching for more than one pattern (#38286)
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