diff options
-rw-r--r-- | urpm/cfg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm index be9c2d72..8195515f 100644 --- a/urpm/cfg.pm +++ b/urpm/cfg.pm @@ -61,6 +61,7 @@ sub load_config ($) { _syntax_error; return; } + $config{$medium}{priority} = $priority++; #- to preserve order undef $medium; next; } @@ -120,7 +121,6 @@ sub load_config ($) { } #- obsolete /^modified$/ and next; - $config{$medium}{priority} = $priority++; #- to preserve order } close $f; return \%config; |