Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-10-18 00:36:22 -0400
committerAllan McRae <allan@archlinux.org>2013-10-31 16:20:02 +1000
commit8f5dbd56145a19d6f1ce951cec84ef5816f48349 (patch)
treec90cfe5e708c687d0242d63e78d808b56e084009
parenta8285350cc6c6e9400c53e2a24d984a4b242e434 (diff)
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 <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-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;
}