aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi.addmedia4
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b0358491..f25657e2 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
o handle --mirrorlist (ansi)
o drop 'with' parameter, it didn't work properly anymore (Anssi)
o fix --distrib
+ o fix --distrib --mirrorlist
Version 4.9.8 - 25 March 2008, Thierry Vignaud
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 13a19296..a4a5c4ad 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -100,6 +100,10 @@ while (@ARGV) {
shift @ARGV foreach 1 .. 2;
}
+if ($mirrorlist && $distrib && !@addmedia_args) {
+ @addmedia_args = [ '' ];
+}
+
$fromfile and do {
interactive_msg('gurpmi.addmedia',
N("%s