transaction_sortdeps: check if dep is installed by pattern.

This commit is contained in:
Juan RP 2012-07-04 11:55:51 +02:00
parent dfb45f27ef
commit e879c71a02

View File

@ -200,7 +200,7 @@ again:
xbps_dbg_printf(xhp, " Required dependency '%s': ", str);
pdn = pkgdep_find(pkgnamedep, 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
* the list but just mark it as "installed", to avoid