aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:27:30 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:27:30 +0000
commit194b59849a254aaf90dd8f8c96f0b6be9bd29584 (patch)
tree699c7e786a98770d8089e60029219b995435e41d
parent15cd84cb913e524aeb72bc5ba2aaeb11c855d8f7 (diff)
downloadrpmdrake-194b59849a254aaf90dd8f8c96f0b6be9bd29584.tar
rpmdrake-194b59849a254aaf90dd8f8c96f0b6be9bd29584.tar.gz
rpmdrake-194b59849a254aaf90dd8f8c96f0b6be9bd29584.tar.bz2
rpmdrake-194b59849a254aaf90dd8f8c96f0b6be9bd29584.tar.xz
rpmdrake-194b59849a254aaf90dd8f8c96f0b6be9bd29584.zip
(toggle_nodes) handle removing packages
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 070077f8..6bc53f58 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -840,7 +840,7 @@ or you already installed all of them."));
return $results eq N("Ok");
}
};
- if ($MODE eq 'remove') {
+ if ($old_state eq 'installed') { # remove pacckages
if ($new_state) {
my @remove;
slow_func($tree->window, sub { @remove = $closure_removal->(@nodes) });