diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-14 12:05:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-14 12:05:55 +0000 |
commit | 9b38b66074c94c0493feb36c97123f2adf6f6f78 (patch) | |
tree | ecc5e7715839596eca39b8b6979e05b3f3db7f39 /mdkapplet | |
parent | 269443e46fefc6102637d415874ac936b9c203dd (diff) | |
download | mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar.gz mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar.bz2 mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar.xz mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.zip |
kill now useless variable
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -305,7 +305,7 @@ sub is_there_a_new_distributions() { } -my ($mdv_update_pid, $checker_pid, $media_manager_pid, $distro_upgrade); +my ($mdv_update_pid, $checker_pid, $media_manager_pid); # Signal management sub harvester { @@ -317,7 +317,6 @@ sub harvester { my $status = $? >> 8; if ($mdv_update_pid && $mdv_update_pid == $childpid) { undef $mdv_update_pid; - undef $distro_upgrade; $mdvupdate_returned = 1; } elsif ($checker_pid && $checker_pid == $childpid) { undef $checker_pid; @@ -380,7 +379,6 @@ sub upgrade() { $already_in_upgrade = 1; my $_a = before_leaving { undef $already_in_upgrade }; return if !confirm_upgrade(); - $distro_upgrade = 1; $mdv_update_pid = fork_exec('mdkapplet-upgrade-helper', "--new_distro_version=$new_distro->{version}", if_($root, "--urpmi-root=$root")); } |