summaryrefslogtreecommitdiffstats
path: root/urpm/cfg.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-02 14:37:37 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-02 14:37:37 +0000
commit77b03c95a1f5f69e5f9c40c1deeb89948192ce43 (patch)
tree39e5be3b372a651082c04d04d5970d082f7fcb6f /urpm/cfg.pm
parentc0c8d35be233c5202cb9e90ecffdd0a33acee2e8 (diff)
downloadurpmi-77b03c95a1f5f69e5f9c40c1deeb89948192ce43.tar
urpmi-77b03c95a1f5f69e5f9c40c1deeb89948192ce43.tar.gz
urpmi-77b03c95a1f5f69e5f9c40c1deeb89948192ce43.tar.bz2
urpmi-77b03c95a1f5f69e5f9c40c1deeb89948192ce43.tar.xz
urpmi-77b03c95a1f5f69e5f9c40c1deeb89948192ce43.zip
Add new switches to the urpm tools, --wget-options, --curl-options and
--rsync-options, to specify additionnal command-line options to pass to the downloader programs. These are also available as global variables that can be set in urpmi.cfg.
Diffstat (limited to 'urpm/cfg.pm')
-rw-r--r--urpm/cfg.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index ea233d85..7cf5f62f 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -150,6 +150,7 @@ sub load_config ($;$) {
|prohibit-remove
|downloader
|retry
+ |(?:curl|rsync|wget)-options
)\s*:\s*['"]?(.*?)['"]?$/x
and $config{$medium}{$1} = $2, next;
/^key[-_]ids\s*:\s*['"]?(.*?)['"]?$/