aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rwxr-xr-xgurpmi.addmedia5
2 files changed, 7 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 83415b02..860ccc8b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- gurpmi.addmedia
+ o instead of discarding --update when using --distrib, give it a meaning:
+ only add media flagged "update"
+
Version 4.16 - 26 August 2008, Thierry Vignaud
- MandrivaUpdate:
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index cdd0890e..85137ccc 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -37,7 +37,8 @@ where <url> is one of
and [options] are from
--distrib install a set of media from a distribution
--silent-success don't show popup window on success
- --update create an update medium.
+ --update create an update medium,
+ or discard non-update media (when used with --distrib)
--mirrorlist <url> is a mirror list
";
exit(0);
@@ -133,7 +134,7 @@ foreach (@addmedia_args) {
$_->[0],
$_->[1],
if_(!$distrib, undef),
- if_($update, update => $update),
+ if_($update, update => $update, only_updates => $update),
mirrorlist => $mirrorlist,
if_($with_dir, 'with-dir' => $with_dir),
);