summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-19 15:19:57 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-19 15:19:57 +0000
commit14d5ddc0ecb90eb157e89d7bad6d579797001a6e (patch)
treea5008850d9ea7237fcadc0c1c07433279347966d
parentec54164f8c55c1f2359a37d4fcaef1b96c7e7f8d (diff)
downloadmgaonline-14d5ddc0ecb90eb157e89d7bad6d579797001a6e.tar
mgaonline-14d5ddc0ecb90eb157e89d7bad6d579797001a6e.tar.gz
mgaonline-14d5ddc0ecb90eb157e89d7bad6d579797001a6e.tar.bz2
mgaonline-14d5ddc0ecb90eb157e89d7bad6d579797001a6e.tar.xz
mgaonline-14d5ddc0ecb90eb157e89d7bad6d579797001a6e.zip
(silentCheck) update all media on cooker instead of only update media
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 576d4316..d6d5b4bd 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -497,7 +497,7 @@ sub silentCheck() {
}
checker_exit('locked') if $will_not_update_media;
- if (!run_program::run('urpmi.update', '--update', if_($root, "--urpmi-root=$root"))) {
+ if (!run_program::run('urpmi.update', (is_it_a_devel_distro() ? '-a' : '--update'), if_($root, "--urpmi-root=$root"))) {
checker_exit('error_updating') if $will_not_update_media;
}