From c58107bd27859e1fe556299ae331bbdda90d1ef3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 27 Jan 2011 21:02:56 +0100 Subject: [PATCH] xbps_repository_find_pkg_deps: fix stupid error by reusing a var. --- lib/repository_finddeps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/repository_finddeps.c b/lib/repository_finddeps.c index 5380ac4a..28ff45f4 100644 --- a/lib/repository_finddeps.c +++ b/lib/repository_finddeps.c @@ -384,6 +384,7 @@ find_repo_deps(prop_dictionary_t transd, /* transaction dictionary */ prop_dictionary_set_cstring_nocopy(curpkgd, "trans-action", "update"); } else if (rv == 1) { + rv = 0; if (state == XBPS_PKG_STATE_UNPACKED) { /* * Package matches the dependency