Consider provides when warning about optdepnd removal
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 59112e186b
)
This commit is contained in:
parent
c6e46c9ebb
commit
5211118a06
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue