summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-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);
}