diff options
-rw-r--r-- | urpm/select.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index 455cf82c..13f1bf6f 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -489,9 +489,12 @@ sub find_packages_to_remove { push @m, scalar $p->fullname; $found = 1; }); - $found and next; - push @notfound, $_; + if ($found) { + next; + } else { + push @notfound, $_; + } } if (!$options{force} && @notfound && @$l > 1) { $options{callback_notfound} && $options{callback_notfound}->($urpm, @notfound) |