summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-19 15:01:08 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-19 15:01:08 +0000
commit756884aee7c109d8c09a5addc7d74a933333a053 (patch)
treeb7fdde552110d5ea5241955e36a281618c2b3e12
parentf6c7e908aeb5e9833c58b21b63b26e0330d701fa (diff)
downloadmgaonline-756884aee7c109d8c09a5addc7d74a933333a053.tar
mgaonline-756884aee7c109d8c09a5addc7d74a933333a053.tar.gz
mgaonline-756884aee7c109d8c09a5addc7d74a933333a053.tar.bz2
mgaonline-756884aee7c109d8c09a5addc7d74a933333a053.tar.xz
mgaonline-756884aee7c109d8c09a5addc7d74a933333a053.zip
(silentCheck) consider all media as update media on cooker when checking if there are media
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2f043d95..603da04c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet
+ o update all media on cooker instead of only update media
+
Version 2.74 - 16 February 2008
- mdkapplet-config
diff --git a/mdkapplet b/mdkapplet
index cf92ee26..576d4316 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -510,7 +510,7 @@ sub silentCheck() {
require urpm::media;
# this eats 52Mb of RAM on 64bit:
urpm::media::configure($urpm, update => 1);
- my @update_medias = grep { $_->{update} } @{$urpm->{media}};
+ my @update_medias = get_update_medias($urpm);
if (!@update_medias) {
checker_exit('no_update_medium');
} elsif (!any { ! $_->{ignore} } @update_medias) {