Make xbps_(un)register_pkg() accept a boolean arg to flush regpkgdb on success.

This commit is contained in:
Juan RP
2011-12-28 05:57:04 +01:00
parent 11ca929985
commit a7f3a56e19
4 changed files with 23 additions and 23 deletions

View File

@ -266,7 +266,7 @@ xbps_transaction_commit(prop_dictionary_t transd)
/*
* Register package.
*/
if ((rv = xbps_register_pkg(obj)) != 0)
if ((rv = xbps_register_pkg(obj, false)) != 0)
goto out;
}
}