summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2008-10-24 17:56:31 +0000
committerAnssi Hannula <anssi@mandriva.org>2008-10-24 17:56:31 +0000
commit58ee3cbcf2b07a7538b3265605d1effa6823d9da (patch)
treeae37138da03f2d22a689739193ae232f69bcb4f8
parent33a0218854b6dd63566a22138a1d23e6f4cf4916 (diff)
downloadurpmi-58ee3cbcf2b07a7538b3265605d1effa6823d9da.tar
urpmi-58ee3cbcf2b07a7538b3265605d1effa6823d9da.tar.gz
urpmi-58ee3cbcf2b07a7538b3265605d1effa6823d9da.tar.bz2
urpmi-58ee3cbcf2b07a7538b3265605d1effa6823d9da.tar.xz
urpmi-58ee3cbcf2b07a7538b3265605d1effa6823d9da.zip
allow setting aria2-options in urpmi.cfg
-rw-r--r--NEWS1
-rw-r--r--urpm/cfg.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3fcee668..4553709d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- urpmi, gurpmi
o prompt for "retry" on aria2 download failure
o retry once on aria2 versioned-file download failure
+ o allow setting aria2-options in urpmi.cfg
- urpmi
o fix --auto-update ignoring --media and default-media (#45097)
- gurpmi
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index f8b98ed6..a06c3557 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -160,7 +160,7 @@ sub load_config_raw {
|downloader
|retry
|default-media
- |(?:curl|rsync|wget|prozilla)-options
+ |(?:curl|rsync|wget|prozilla|aria2)-options
)\s*:\s*['"]?(.*?)['"]?$/x) {
#- config values
$block->{$1} = $2;