summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/cfg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index 38b88db2..9d82c06f 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -25,7 +25,8 @@ Reads an urpmi configuration file and returns its contents in a hash ref :
{
media => [
- 'medium name 1' => {
+ {
+ name => 'medium name 1',
url => 'http://...',
option => 'value',
...