A bugfix while sorting dependencies in a transaction (thanks dave).

This commit is contained in:
Juan RP
2012-03-30 01:39:13 +02:00
parent a5f4848d0b
commit 8e0612bb46
3 changed files with 6 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ again:
xbps_dbg_printf(" Required dependency '%s': ", str);
pdn = pkgdep_find(pkgnamedep, NULL);
if ((pdn == NULL) &&
xbps_check_is_installed_pkg_by_name(pkgnamedep)) {
xbps_check_is_installed_pkg_by_pattern(str)) {
/*
* Package dependency is installed, just add to
* the list but just mark it as "installed", to avoid