pkg: add pkg_t.id field
parent
8543f1bdd4
commit
b0c16941ce
2
pkg.c
2
pkg.c
|
@ -186,6 +186,8 @@ pkg_verify_dependency(pkg_dependency_t *pkgdep)
|
||||||
if (pkg == NULL)
|
if (pkg == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
pkg->id = strdup(pkgdep->package);
|
||||||
|
|
||||||
switch(pkgdep->compare)
|
switch(pkgdep->compare)
|
||||||
{
|
{
|
||||||
case PKG_LESS_THAN:
|
case PKG_LESS_THAN:
|
||||||
|
|
Loading…
Reference in New Issue