lib/package_unpack.c: switch pkg meta files to zplist too.

This commit is contained in:
Juan RP 2014-10-17 10:23:12 +02:00
parent 5b5a948f15
commit b1eb62a2df

View File

@ -491,7 +491,7 @@ unpack_archive(struct xbps_handle *xhp,
*/
if (xbps_dictionary_count(binpkg_filesd)) {
buf = xbps_xasprintf("%s/.%s-files.plist", xhp->metadir, pkgname);
if (!xbps_dictionary_externalize_to_file(binpkg_filesd, buf)) {
if (!xbps_dictionary_externalize_to_zfile(binpkg_filesd, buf)) {
rv = errno;
free(buf);
xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FAIL,