lib/package_unpack.c: pass pkgver to xbps_pkg_exec_buffer() not pkgname.

This commit is contained in:
Juan RP committed 2013-03-07 12:01:07 +01:00
1 parent 98adbf34a1
commit bcae7e83aa
1 file changed
+1 -1
+1 -1
View File
@@ -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,