lib/package_unpack.c: pass pkgver to xbps_pkg_exec_buffer() not pkgname.
This commit is contained in:
parent
98adbf34a1
commit
bcae7e83aa
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user