transaction_sortdeps: check if dep is installed by pattern.
This commit is contained in:
parent
dfb45f27ef
commit
e879c71a02
@ -200,7 +200,7 @@ again:
|
|||||||
xbps_dbg_printf(xhp, " Required dependency '%s': ", str);
|
xbps_dbg_printf(xhp, " Required dependency '%s': ", str);
|
||||||
pdn = pkgdep_find(pkgnamedep, NULL);
|
pdn = pkgdep_find(pkgnamedep, NULL);
|
||||||
if ((pdn == NULL) &&
|
if ((pdn == NULL) &&
|
||||||
xbps_check_is_installed_pkg_by_name(xhp, pkgnamedep)) {
|
xbps_check_is_installed_pkg_by_pattern(xhp, str)) {
|
||||||
/*
|
/*
|
||||||
* Package dependency is installed, just add to
|
* Package dependency is installed, just add to
|
||||||
* the list but just mark it as "installed", to avoid
|
* the list but just mark it as "installed", to avoid
|
||||||
|
Loading…
Reference in New Issue
Block a user