summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c
index 7a6ac8a..1ae4778 100644
--- a/src/database.c
+++ b/src/database.c
@@ -1057,6 +1057,9 @@ static int apk_db_install_archive_entry(void *_ctx,
apk_db_file_change_owner(db, file, diri,
&ctx->file_diri_node);
}
+
+ if (apk_verbosity > 1)
+ printf("%s\n", ae->name);
if ((diri->dir->flags & APK_DBDIRF_PROTECTED) &&
apk_file_get_info(ae->name, &fi) == 0) {
@@ -1078,6 +1081,9 @@ static int apk_db_install_archive_entry(void *_ctx,
}
memcpy(file->csum, ae->csum, sizeof(csum_t));
} else {
+ if (apk_verbosity > 1)
+ printf("%s\n", ae->name);
+
if (name.ptr[name.len-1] == '/')
name.len--;
@@ -1117,6 +1123,8 @@ static void apk_db_purge_pkg(struct apk_database *db,
apk_hash_delete(&db->installed.files,
APK_BLOB_BUF(&key));
unlink(name);
+ if (apk_verbosity > 1)
+ printf("%s\n", name);
__hlist_del(fc, &diri->owned_files.first);
file->diri = NULL;
db->installed.stats.files--;