diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-26 05:52:25 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-26 05:52:25 +0000 |
commit | 546a5963c3c59a916832b66a8598ec24fbac5e30 (patch) | |
tree | 61c3385fda7522aad172f0f4678ac3050429189d /urpm/cfg.pm | |
parent | e289c2bf26016ae43fe8d6c61ff43bd4b7d3bf7d (diff) | |
download | urpmi-546a5963c3c59a916832b66a8598ec24fbac5e30.tar urpmi-546a5963c3c59a916832b66a8598ec24fbac5e30.tar.gz urpmi-546a5963c3c59a916832b66a8598ec24fbac5e30.tar.bz2 urpmi-546a5963c3c59a916832b66a8598ec24fbac5e30.tar.xz urpmi-546a5963c3c59a916832b66a8598ec24fbac5e30.zip |
Fix ordering of media in config file
Diffstat (limited to 'urpm/cfg.pm')
-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; |