xbps_entry_install_conf_file: use archive_entry_copy to set new entry pathname.

This commit is contained in:
Juan RP 2014-03-04 09:44:58 +01:00
parent a29211ae39
commit f20694a5bf

View File

@ -224,7 +224,7 @@ xbps_entry_install_conf_file(struct xbps_handle *xhp,
0, pkgver, 0, pkgver,
"Installing new configuration file to " "Installing new configuration file to "
"`%s.new-%s'.", cffile, version); "`%s.new-%s'.", cffile, version);
archive_entry_set_pathname(entry, buf); archive_entry_copy_pathname(entry, buf);
free(buf); free(buf);
rv = 1; rv = 1;
break; break;