summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/media.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8ece8442..101ce7df 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- urpmi.addmedia
+ o [bugfix] fix using "with synthesis.hdlist.cz" (#31081)
o don't overwrite existing urpmi.cfg with an empty file
when disk is full (#30945)
- urpmi
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);
}