From cf71c992a3336dfeceae584d14b72c9cda145ee2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 23 Aug 2022 16:47:21 +0000 Subject: [PATCH] compress: Only say that we are extracting when we are extracting Signed-off-by: Michael Tremer --- src/libpakfire/compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpakfire/compress.c b/src/libpakfire/compress.c index 16c9ef3f3..de311a6c9 100644 --- a/src/libpakfire/compress.c +++ b/src/libpakfire/compress.c @@ -596,8 +596,6 @@ static int __pakfire_extract_entry(struct pakfire* pakfire, struct pakfire_extra // Fetch path const char* path = archive_entry_pathname(entry); - DEBUG(pakfire, "Extracting %s\n", path); - // Prepend the prefix if (*data->prefix) { // Compose file path @@ -638,6 +636,8 @@ static int __pakfire_extract_entry(struct pakfire* pakfire, struct pakfire_extra // Create file & extract payload if (data->writer) { + DEBUG(pakfire, "Extracting %s\n", path); + r = archive_read_extract2(data->archive, entry, data->writer); switch (r) { case ARCHIVE_OK: -- 2.47.3