diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-05-16 07:01:15 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-05-16 07:01:15 +0000 |
commit | 2b25e5b1e74bcb237191700d59798e13a5816b63 (patch) | |
tree | c8cd255848a6ef9d12099ad553c2296e7b2171bf /urpm/cfg.pm | |
parent | c89ce7a993434b0997a102a660ef6f7a9739088e (diff) | |
download | urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar.gz urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar.bz2 urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar.xz urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.zip |
First media should have priority == 1
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 5baffc60..e3988ea5 100644 --- a/urpm/cfg.pm +++ b/urpm/cfg.pm @@ -115,7 +115,7 @@ sub load_config ($;$) { _syntax_error(); return; } - $config{$medium}{priority} = $priority++; #- to preserve order + $config{$medium}{priority} = ++$priority; #- to preserve order undef $medium; next; } |