lib/package_unpack.c: wrap some long lines and fix an obvious error.
This commit is contained in:
parent
725ef2472d
commit
b133b9023c
@ -279,9 +279,11 @@ unpack_archive(struct xbps_handle *xhp,
|
|||||||
*/
|
*/
|
||||||
if (file_exists && match_preserved_file(xhp, entry_pname)) {
|
if (file_exists && match_preserved_file(xhp, entry_pname)) {
|
||||||
archive_read_data_skip(ar);
|
archive_read_data_skip(ar);
|
||||||
xbps_dbg_printf(xhp, "[unpack] `%s' exists on disk and must be preserved, skipping.\n", xhp, entry_pname);
|
xbps_dbg_printf(xhp, "[unpack] `%s' exists on disk "
|
||||||
xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FILE_PRESERVED, 0, pkgver,
|
"and must be preserved, skipping.\n", xhp, entry_pname);
|
||||||
pkgver, "%s: file `%s' won't be extracted, it's preserved.\n", pkgver, entry_pname);
|
xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FILE_PRESERVED, 0,
|
||||||
|
pkgver, "%s: file `%s' won't be extracted, "
|
||||||
|
"it's preserved.\n", pkgver, entry_pname);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user