summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/select.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 7bc975ac..28b38d91 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -481,6 +481,10 @@ sub find_packages_to_remove {
or return ();
}
}
+ if (!@m) {
+ $options{callback_notfound} && $options{callback_notfound}->($urpm, @$l)
+ or return ();
+ }
}
#- check if something needs to be removed.