summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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