Make xbps_configure_pkg/packages accept a flush bool arg for frontends.

This commit is contained in:
Juan RP
2012-01-04 17:41:36 +01:00
parent 812005a7d9
commit a31c20e52a
5 changed files with 41 additions and 22 deletions

View File

@ -224,7 +224,8 @@ xbps_transaction_commit(prop_dictionary_t transd)
/*
* Reconfigure pending package.
*/
rv = xbps_configure_pkg(pkgname, version, false, false);
rv = xbps_configure_pkg(pkgname, version,
false, false, false);
if (rv != 0)
goto out;
} else {
@ -305,7 +306,7 @@ xbps_transaction_commit(prop_dictionary_t transd)
if (strcmp(tract, "update") == 0)
update = true;
rv = xbps_configure_pkg(pkgname, version, false, update);
rv = xbps_configure_pkg(pkgname, version, false, update, false);
if (rv != 0)
goto out;
/*