diff options
-rwxr-xr-x | mdkapplet | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -340,9 +340,12 @@ sub harvester { if ($state) { log::explanations($state->{log}); $sub_state = $state->{status}; - 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); + if ($new_distro && $config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i + && $local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i) { + go2State('new_distribution'); + } else { + go2State($sub_state); + } } } elsif ($media_manager_pid && $media_manager_pid == $childpid) { undef $media_manager_pid; |