summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
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 b2367ccb..0cf29f9c 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -623,7 +623,7 @@ sub add_medium {
if ($with_synthesis) {
_migrate__with_synthesis($medium, $with_synthesis);
- } else {
+ } elsif (!$medium->{media_info_dir}) {
$medium->{unknown_media_info} = 1;
}