summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-16 07:01:15 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-16 07:01:15 +0000
commit2b25e5b1e74bcb237191700d59798e13a5816b63 (patch)
treec8cd255848a6ef9d12099ad553c2296e7b2171bf
parentc89ce7a993434b0997a102a660ef6f7a9739088e (diff)
downloadurpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar
urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar.gz
urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar.bz2
urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.tar.xz
urpmi-2b25e5b1e74bcb237191700d59798e13a5816b63.zip
First media should have priority == 1
-rw-r--r--urpm/cfg.pm2
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;
}