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

@ -181,7 +181,7 @@ xbps_remove_pkg(const char *pkgname, const char *version, bool update)
/*
* Check if pkg is installed before anything else.
*/
if (!xbps_check_is_installed_pkgname(pkgname))
if (!xbps_check_is_installed_pkg_by_name(pkgname))
return ENOENT;
buf = xbps_xasprintf(".%s/metadata/%s/REMOVE",