rename xbps_pkgver_is_reverted to xbps_pkg_reverts

This commit is contained in:
Enno Boland
2014-09-23 09:51:11 +02:00
parent cd9a9e78a8
commit 50fb6c1605
4 changed files with 6 additions and 6 deletions

View File

@ -118,7 +118,7 @@ trans_find_pkg(struct xbps_handle *xhp, const char *pkg, bool reinstall)
xbps_dictionary_get_cstring_nocopy(pkg_pkgdb,
"pkgver", &instpkgver);
if (xbps_cmpver(repopkgver, instpkgver) <= 0 &&
!xbps_pkgver_is_reverted(repopkgver, pkg_repod)) {
!xbps_pkg_reverts(pkg_repod, repopkgver)) {
xbps_dbg_printf(xhp, "[rpool] Skipping `%s' "
"(installed: %s) from repository `%s'\n",
repopkgver, instpkgver, repoloc);