summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 3245d64f..528b04bb 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -323,6 +323,7 @@ alpm_db_t *_alpm_db_new(const char *treename, int is_local)
} else {
db->status &= ~DB_STATUS_LOCAL;
}
+ db->usage = ALPM_DB_USAGE_ALL;
return db;
}