summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-29 21:19:55 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-29 21:19:55 +0000
commit9713b2e916101c7776e2459d5d769debb7b956ba (patch)
treea16d014ae97131d281387869297f0a4711dbd445
parentab7b4d6ebacc4d5d1539f0ec7cc4c815f0f3d79b (diff)
downloadmgaonline-9713b2e916101c7776e2459d5d769debb7b956ba.tar
mgaonline-9713b2e916101c7776e2459d5d769debb7b956ba.tar.gz
mgaonline-9713b2e916101c7776e2459d5d769debb7b956ba.tar.bz2
mgaonline-9713b2e916101c7776e2459d5d769debb7b956ba.tar.xz
mgaonline-9713b2e916101c7776e2459d5d769debb7b956ba.zip
(silentCheck) only look at update media now that MandrivaUpdate do
this (#32978) (nice side effect: speed up the updates lookup)
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 2d94a4c3..3cf49f13 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -439,7 +439,7 @@ sub silentCheck() {
require urpm::select;
require urpm::media;
- urpm::media::configure($urpm);
+ urpm::media::configure($urpm, update => 1);
my @update_medias = grep { $_->{update} } @{$urpm->{media}};
if (!@update_medias) {
$exit->('no_update_medium');