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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user