summaryrefslogtreecommitdiffstats
path: root/mdkapplet
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 /mdkapplet
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
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
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) {