diff options
-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 |