Re-use pkgname from unpack to handle config files.

This commit is contained in:
Juan RP
2013-03-08 10:11:16 +01:00
parent faacbd4a96
commit c504a73f08
3 changed files with 6 additions and 3 deletions

View File

@ -310,7 +310,8 @@ unpack_archive(struct xbps_handle *xhp,
xucd.entry_is_conf = true;
rv = xbps_entry_install_conf_file(xhp,
filesd, entry, entry_pname, pkgver);
filesd, entry, entry_pname, pkgver,
pkgname);
if (rv == -1) {
/* error */
goto out;