xbps_repository_find_pkg_deps: fix stupid error by reusing a var.
This commit is contained in:
parent
176f5e3e40
commit
c58107bd27
@ -384,6 +384,7 @@ find_repo_deps(prop_dictionary_t transd, /* transaction dictionary */
|
|||||||
prop_dictionary_set_cstring_nocopy(curpkgd,
|
prop_dictionary_set_cstring_nocopy(curpkgd,
|
||||||
"trans-action", "update");
|
"trans-action", "update");
|
||||||
} else if (rv == 1) {
|
} else if (rv == 1) {
|
||||||
|
rv = 0;
|
||||||
if (state == XBPS_PKG_STATE_UNPACKED) {
|
if (state == XBPS_PKG_STATE_UNPACKED) {
|
||||||
/*
|
/*
|
||||||
* Package matches the dependency
|
* Package matches the dependency
|
||||||
|
Loading…
Reference in New Issue
Block a user