xbps_unpack_binary_pkg: removed 2nd bool argument, look for a preserve object

to not remove files in removal or upgrades.

Bump XBPS_RELVER to 20091202.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091202053103-uby6hwu313pieafa
This commit is contained in:
Juan RP
2009-12-02 06:31:03 +01:00
parent 94bb169c88
commit b03a18ff84
3 changed files with 18 additions and 12 deletions

View File

@@ -620,7 +620,7 @@ exec_transaction(struct transaction *trans)
* Unpack binary package.
*/
printf("Unpacking %s (from .../%s) ...\n", pkgver, filename);
if ((rv = xbps_unpack_binary_pkg(obj, essential)) != 0) {
if ((rv = xbps_unpack_binary_pkg(obj)) != 0) {
printf("error: unpacking %s (%s)\n", pkgver,
strerror(rv));
return rv;