From 2b25e5b1e74bcb237191700d59798e13a5816b63 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 16 May 2005 07:01:15 +0000 Subject: First media should have priority == 1 --- urpm/cfg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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; } -- cgit v1.2.1