lib/package_config_files.c: simplify.

This commit is contained in:
Juan RP 2014-05-31 06:00:33 +02:00
parent 9a0d595cca
commit ec3323dcba

View File

@ -213,9 +213,7 @@ xbps_entry_install_conf_file(struct xbps_handle *xhp,
assert(version);
snprintf(buf, sizeof(buf), ".%s.new-%s", cffile, version);
xbps_set_cb_state(xhp, XBPS_STATE_CONFIG_FILE,
0, pkgver,
"Installing new configuration file to "
"`%s.new-%s'.", cffile, version);
0, pkgver, "Installing new configuration file to `%s'.", buf);
archive_entry_copy_pathname(entry, buf);
rv = 1;
break;