From bcae7e83aab5ab710719d54ae006749f934749ec Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 7 Mar 2013 12:01:07 +0100 Subject: [PATCH] lib/package_unpack.c: pass pkgver to xbps_pkg_exec_buffer() not pkgname. --- lib/package_unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/package_unpack.c b/lib/package_unpack.c index 4a627a58..72a28fc4 100644 --- a/lib/package_unpack.c +++ b/lib/package_unpack.c @@ -197,7 +197,7 @@ unpack_archive(struct xbps_handle *xhp, } rv = xbps_pkg_exec_buffer(xhp, instbuf, instbufsiz, - pkgname, "pre", update); + pkgver, "pre", update); if (rv != 0) { xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FAIL,