diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 14:09:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 14:09:11 +0000 |
commit | 8971afc9e643826d4ad832dbc05f4a206ecfdd46 (patch) | |
tree | 0237bd144ccfe2eafecfd7ec485bc4d083c56df8 | |
parent | 28a4c0afd968ed8bd4d69a9880beafde84060d54 (diff) | |
download | mgaonline-8971afc9e643826d4ad832dbc05f4a206ecfdd46.tar mgaonline-8971afc9e643826d4ad832dbc05f4a206ecfdd46.tar.gz mgaonline-8971afc9e643826d4ad832dbc05f4a206ecfdd46.tar.bz2 mgaonline-8971afc9e643826d4ad832dbc05f4a206ecfdd46.tar.xz mgaonline-8971afc9e643826d4ad832dbc05f4a206ecfdd46.zip |
enable to globally enable/disable new distribution check
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet | 3 | ||||
-rw-r--r-- | mdkapplet.conf | 5 |
3 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,5 @@ - mdkapplet + o enable to globally enable/disable new distribution check o "Distro Upgrade" confirmation dialog: * display a banner * display an URL link button @@ -331,7 +331,8 @@ sub harvester { if ($state) { logIt($state->{log}); $sub_state = $state->{status}; - go2State($new_distro && $local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i ? + go2State($new_distro && $config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i ? + && $local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i ? 'new_distribution' : $sub_state); } } elsif ($media_manager_pid && $media_manager_pid == $childpid) { diff --git a/mdkapplet.conf b/mdkapplet.conf index 0caebfe4..6e093dc3 100644 --- a/mdkapplet.conf +++ b/mdkapplet.conf @@ -3,3 +3,8 @@ UPDATE_FREQUENCY=10800 # Initial check will be delayed by (default to 5 minutes): FIRST_CHECK_DELAY=300000 + +# Globally enable or disable check for new distribution +# (in order to offer live distro upgrade): +# (default is "false", meaning check will be done) +DO_NOT_ASK_FOR_DISTRO_UPGRADE=false
\ No newline at end of file |