xbps_repo_get_{virtual,}pkg: add debug on match.
This commit is contained in:
parent
58158f28c3
commit
cc601e1e91
@ -416,6 +416,8 @@ xbps_repo_get_virtualpkg(struct xbps_repo *repo, const char *pkg)
|
|||||||
if (!xbps_dictionary_set_cstring(pkgd, "pkgname", pkgname)) {
|
if (!xbps_dictionary_set_cstring(pkgd, "pkgname", pkgname)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
xbps_dbg_printf(repo->xhp, "%s: found %s\n", __func__, pkgver);
|
||||||
|
|
||||||
return pkgd;
|
return pkgd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -454,6 +456,7 @@ add:
|
|||||||
if (!xbps_dictionary_set_cstring(pkgd, "pkgname", pkgname)) {
|
if (!xbps_dictionary_set_cstring(pkgd, "pkgname", pkgname)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
xbps_dbg_printf(repo->xhp, "%s: found %s\n", __func__, pkgver);
|
||||||
return pkgd;
|
return pkgd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user