mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
Consider provides when warning about optdepnd removal
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
76a7d2293c
commit
59112e186b
@ -180,7 +180,7 @@ static void remove_notify_needed_optdepends(alpm_handle_t *handle, alpm_list_t *
|
||||
alpm_list_t *j;
|
||||
for(j = optdeps; j; j = alpm_list_next(j)) {
|
||||
alpm_depend_t *optdep = j->data;
|
||||
if(alpm_pkg_find(lp, optdep->name)) {
|
||||
if(alpm_find_satisfier(lp, optdep->name)) {
|
||||
alpm_event_optdep_removal_t event = {
|
||||
.type = ALPM_EVENT_OPTDEP_REMOVAL,
|
||||
.pkg = pkg,
|
||||
|
Loading…
Reference in New Issue
Block a user