New dependency/install/unpack WIP code.
This implementation will be faster and resolv the dependency chain correctly taking into account indirect/direct deps and priority. --HG-- extra : convert_revision : cc4ec186f06f944fa8825b176344c4d612658f85
This commit is contained in:
parent
3f72a92c98
commit
61f0b09698
12 changed files with 712 additions and 512 deletions
|
@ -60,7 +60,7 @@ xbps_check_is_installed_pkg(const char *pkg)
|
|||
return 1; /* not installed */
|
||||
}
|
||||
|
||||
pkgdict = xbps_find_pkg_in_dict(dict, pkgname);
|
||||
pkgdict = xbps_find_pkg_in_dict(dict, "packages", pkgname);
|
||||
if (pkgdict == NULL) {
|
||||
prop_object_release(dict);
|
||||
free(pkgname);
|
||||
|
@ -165,10 +165,9 @@ char *
|
|||
xbps_append_full_path(bool use_rootdir, const char *basedir, const char *plist)
|
||||
{
|
||||
const char *env;
|
||||
char *buf;
|
||||
char *buf = NULL;
|
||||
size_t len = 0;
|
||||
|
||||
assert(buf != NULL);
|
||||
assert(plist != NULL);
|
||||
|
||||
if (basedir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue