summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-16 19:10:24 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-16 19:10:24 +0000
commit0f56ce20fb9bf383c1f5d09590aa2c2c2056240f (patch)
treeb8a7cfe4a56b69cb630876f141b3052a7287fd08
parent0e8c7b61b4f711f06b827efe4a7072e47df12079 (diff)
downloadmgaonline-0f56ce20fb9bf383c1f5d09590aa2c2c2056240f.tar
mgaonline-0f56ce20fb9bf383c1f5d09590aa2c2c2056240f.tar.gz
mgaonline-0f56ce20fb9bf383c1f5d09590aa2c2c2056240f.tar.bz2
mgaonline-0f56ce20fb9bf383c1f5d09590aa2c2c2056240f.tar.xz
mgaonline-0f56ce20fb9bf383c1f5d09590aa2c2c2056240f.zip
(silentCheck) do not alter media while MandrivaUpdate is running
-rwxr-xr-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 1574ded1..ad2040f3 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -301,6 +301,7 @@ sub installUpdates() {
if ($mdkupdate_status && $mdkupdate_status !~ /OK/) { logIt($mdkupdate_status); $in->ask_warn(N("Mandriva Linux Updates Applet"), $mdkupdate_status) }
}
sub silentCheck() {
+ return if $mdv_update_pid;
my %h = getVarsFromSh($conffile);
my $u;
logIt(N("Computing new updates...\n"));