libxbps: pass xhp->conffile as last argument when execing INSTALL/REMOVE scripts.

This commit is contained in:
Juan RP
2011-12-15 12:24:59 +01:00
parent a8f2f04d9f
commit 70e95786dc
5 changed files with 10 additions and 6 deletions

View File

@ -140,7 +140,8 @@ xbps_configure_pkg(const char *pkgname,
if (access(buf, X_OK) == 0) {
if (xbps_file_exec(buf, "post",
pkgname, lver, update ? "yes" : "no", NULL) != 0) {
pkgname, lver, update ? "yes" : "no",
xhp->conffile, NULL) != 0) {
xbps_set_cb_state(XBPS_STATE_CONFIGURE_FAIL, errno,
pkgname, lver,
"%s: [configure] INSTALL script failed to execute "