mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -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;
|
alpm_list_t *j;
|
||||||
for(j = optdeps; j; j = alpm_list_next(j)) {
|
for(j = optdeps; j; j = alpm_list_next(j)) {
|
||||||
alpm_depend_t *optdep = j->data;
|
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 = {
|
alpm_event_optdep_removal_t event = {
|
||||||
.type = ALPM_EVENT_OPTDEP_REMOVAL,
|
.type = ALPM_EVENT_OPTDEP_REMOVAL,
|
||||||
.pkg = pkg,
|
.pkg = pkg,
|
||||||
|
Loading…
Reference in New Issue
Block a user