summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:52:33 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:52:33 +0000
commite8d9691e7865b4d5a2c1ec513cd898edf2a6d97e (patch)
treebe2090b04c3f8d4cd21aa02c877ace25a866f715
parente3e1a5c330aea4ccdf092abcf0d624ab11056802 (diff)
downloadurpmi-e8d9691e7865b4d5a2c1ec513cd898edf2a6d97e.tar
urpmi-e8d9691e7865b4d5a2c1ec513cd898edf2a6d97e.tar.gz
urpmi-e8d9691e7865b4d5a2c1ec513cd898edf2a6d97e.tar.bz2
urpmi-e8d9691e7865b4d5a2c1ec513cd898edf2a6d97e.tar.xz
urpmi-e8d9691e7865b4d5a2c1ec513cd898edf2a6d97e.zip
urpmi.cfg: support --download-all as an option (Pavel Shved, from mdv)
-rw-r--r--NEWS2
-rw-r--r--pod/urpmi.cfg.5.pod7
-rw-r--r--urpm/cfg.pm1
3 files changed, 10 insertions, 0 deletions
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<download-all>
+
+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<downloader>
Specify which download program to use: B<wget> or B<curl>.
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