diff --git a/lib/package_unpack.c b/lib/package_unpack.c index f6a91135..5c2e2855 100644 --- a/lib/package_unpack.c +++ b/lib/package_unpack.c @@ -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,