Rename a few symbols for clarity.

xbps_check_is_installed_pkg -> xbps_check_is_installed_pkg_by_pattern
xbps_check_is_installed_pkgname -> xbps_check_is_installed_pkg_by_name
xbps_check_is_repo_string_remote -> xbps_check_is_remote_uri_remote
This commit is contained in:
Juan RP
2011-01-27 12:34:13 +01:00
parent 628a6cebf7
commit 26701d3bf3
8 changed files with 15 additions and 14 deletions

View File

@@ -252,7 +252,8 @@ xbps_check_pkg_integrity(const char *pkgname)
rv = EINVAL;
goto out;
}
if (xbps_check_is_installed_pkg(reqpkg) <= 0) {
rv = xbps_check_is_installed_pkg_by_pattern(reqpkg);
if (rv <= 0) {
rv = ENOENT;
printf("%s: dependency not satisfied: %s\n",
pkgname, reqpkg);