lib/transaction_files.c: fix conf handling

This only changes the debug messages, because modified files and conf
files are handled the same on removal and unless a conf file changes
the file type it is never deleted.
This commit is contained in:
Duncan Overbruck 2019-08-06 13:44:14 +02:00
parent 79467079b2
commit f0d62b9a80

View File

@ -608,7 +608,7 @@ collect_files(struct xbps_handle *xhp, xbps_dictionary_t d,
size = 0;
#endif
rv = collect_file(xhp, file, size, pkgname, pkgver, idx, sha256,
TYPE_FILE, update, removepkg, preserve, removefile, NULL);
TYPE_CONFFILE, update, removepkg, preserve, removefile, NULL);
if (rv == EEXIST) {
error = true;
continue;