From e8d9691e7865b4d5a2c1ec513cd898edf2a6d97e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 8 Jun 2012 18:52:33 +0000 Subject: urpmi.cfg: support --download-all as an option (Pavel Shved, from mdv) --- NEWS | 2 ++ pod/urpmi.cfg.5.pod | 7 +++++++ urpm/cfg.pm | 1 + 3 files changed, 10 insertions(+) diff --git a/NEWS b/NEWS index a6c141a1..0e239b1a 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,8 @@ o do not try to run gmessage as gtkdialogs is not packaged in Mga o drop support for --gui (no more used by drakx) o heavy refactorization +- urpmi.cfg: + o support --download-all as an option (Pavel Shved) - urpmf: o fix -m option not showing media names (mga#5916) diff --git a/pod/urpmi.cfg.5.pod b/pod/urpmi.cfg.5.pod index 33602f2a..a7eeff26 100644 --- a/pod/urpmi.cfg.5.pod +++ b/pod/urpmi.cfg.5.pod @@ -87,6 +87,13 @@ default the certificates are checked and the connection will fail if the certificate is invalid. This option shouldn't be used for maximum security. +=item B + +Same as B<--download-all> option for urpmi: downloads all packages before +installing into the specified directory. If you want to use the default +location, assign an empty string to it (WARNING! "yes" or "1" are NOT the +options you really want to use here!) + =item B Specify which download program to use: B or B. diff --git a/urpm/cfg.pm b/urpm/cfg.pm index 2bd90633..600156ae 100644 --- a/urpm/cfg.pm +++ b/urpm/cfg.pm @@ -161,6 +161,7 @@ sub load_config_raw { |downloader |retry |default-media + |download-all |(?:curl|rsync|wget|prozilla|aria2)-options )\s*:\s*['"]?(.*?)['"]?$/x) { #- config values -- cgit v1.2.1