From 8f5dbd56145a19d6f1ce951cec84ef5816f48349 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Fri, 18 Oct 2013 00:36:22 -0400 Subject: libalpm/db.c: default to ALPM_DB_USAGE_ALL This allows existing front-ends other than pacman to continue working normally. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- lib/libalpm/db.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/db.c') 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; } -- cgit v1.2.3