Support for installing pkgs from multiple repositories.

--HG--
extra : convert_revision : fc8a430e71d202aa9e7560b921669f62f1947ae1
This commit is contained in:
Juan RP 2008-12-26 04:36:51 +01:00
parent f8d7e7f66f
commit 91f7df59cd
6 changed files with 260 additions and 152 deletions

View file

@ -63,6 +63,19 @@ xbps_get_pkg_name(const char *pkg)
return pkgname;
}
bool
xbps_pkg_has_rundeps(prop_dictionary_t pkg)
{
prop_array_t array;
assert(pkg != NULL);
array = prop_dictionary_get(pkg, "run_depends");
if (array && prop_array_count(array) > 0)
return true;
return false;
}
bool
xbps_append_full_path(char *buf, const char *root, const char *plistf)
{