summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-29 07:00:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-29 07:00:25 +0000
commit8b3503fd8b9a31e1ea2cc633566086c0828cb610 (patch)
treee040add0cc6a3d7dd945ecf9fee7b7da62c3f7a9 /urpm
parent067be74ea0e105a6be785779edc7b275977e9d60 (diff)
downloadurpmi-8b3503fd8b9a31e1ea2cc633566086c0828cb610.tar
urpmi-8b3503fd8b9a31e1ea2cc633566086c0828cb610.tar.gz
urpmi-8b3503fd8b9a31e1ea2cc633566086c0828cb610.tar.bz2
urpmi-8b3503fd8b9a31e1ea2cc633566086c0828cb610.tar.xz
urpmi-8b3503fd8b9a31e1ea2cc633566086c0828cb610.zip
- urpmi.addmedia
o [bugfix] fix using "with synthesis.hdlist.cz" (#31081) (regexp m!(^|/)synthesis\.! is tricky in list context :-/)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index b3c85c41..9deb87e2 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -682,7 +682,7 @@ sub add_medium {
}
if ($with_hdlist) {
- _set_synthesis_or_hdlist($medium, $with_hdlist =~ m!(^|/)synthesis\.!);
+ _set_synthesis_or_hdlist($medium, $with_hdlist =~ m!(?:^|/)synthesis\.!);
$medium->{with_hdlist} = $with_hdlist;
_migrate__with_hdlist($medium);
}