aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 30c6c205..2fada2a9 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -912,7 +912,7 @@ or you already installed all of them."));
return $results eq N("Ok");
}
};
- if ($old_state eq 'installed') { # remove pacckages
+ if (member($old_state, qw(to_remove installed))) { # remove pacckages
if ($new_state) {
my @remove;
slow_func($tree->window, sub { @remove = $closure_removal->(@nodes) });