summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-14 12:05:55 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-14 12:05:55 +0000
commit9b38b66074c94c0493feb36c97123f2adf6f6f78 (patch)
treeecc5e7715839596eca39b8b6979e05b3f3db7f39
parent269443e46fefc6102637d415874ac936b9c203dd (diff)
downloadmgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar
mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar.gz
mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar.bz2
mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.tar.xz
mgaonline-9b38b66074c94c0493feb36c97123f2adf6f6f78.zip
kill now useless variable
-rwxr-xr-xmdkapplet4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index c25ea6cb..dd508ad8 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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"));
}