summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-05 10:06:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-05 10:06:48 +0000
commitb459ed95992b02311232bf4530903ac4aee073e0 (patch)
treed38735a281d2bbeaad0374987d35d32ee576c721 /urpm/media.pm
parent01d868b8a066fa0f223b54257ba3bec6f779d215 (diff)
downloadurpmi-b459ed95992b02311232bf4530903ac4aee073e0.tar
urpmi-b459ed95992b02311232bf4530903ac4aee073e0.tar.gz
urpmi-b459ed95992b02311232bf4530903ac4aee073e0.tar.bz2
urpmi-b459ed95992b02311232bf4530903ac4aee073e0.tar.xz
urpmi-b459ed95992b02311232bf4530903ac4aee073e0.zip
- urpmi, urpme, urpmq, urpmf:
o fix --use-distrib (and add test to ensure it never breaks again)
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 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;
}