summaryrefslogtreecommitdiffstats
path: root/urpm/cfg.pm
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mageia.org>2012-03-07 20:55:11 +0000
committerGuillaume Rousse <guillomovitch@mageia.org>2012-03-07 20:55:11 +0000
commit0d8f384724ad5ef2ae2492c0423701dfc60565bf (patch)
tree783f4fbf9aa43423cdd45e6d4f6209478c12d5dd /urpm/cfg.pm
parent4c60ab86e08d2d7b4994f87996a8a7bc350f6515 (diff)
downloadurpmi-0d8f384724ad5ef2ae2492c0423701dfc60565bf.tar
urpmi-0d8f384724ad5ef2ae2492c0423701dfc60565bf.tar.gz
urpmi-0d8f384724ad5ef2ae2492c0423701dfc60565bf.tar.bz2
urpmi-0d8f384724ad5ef2ae2492c0423701dfc60565bf.tar.xz
urpmi-0d8f384724ad5ef2ae2492c0423701dfc60565bf.zip
fix data structure example in pod
Diffstat (limited to 'urpm/cfg.pm')
-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',
...