diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-10-18 06:36:22 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-31 07:20:02 +0100 |
commit | 8f5dbd56145a19d6f1ce951cec84ef5816f48349 (patch) | |
tree | c90cfe5e708c687d0242d63e78d808b56e084009 /lib | |
parent | a8285350cc6c6e9400c53e2a24d984a4b242e434 (diff) | |
download | pacman-8f5dbd56145a19d6f1ce951cec84ef5816f48349.tar.gz pacman-8f5dbd56145a19d6f1ce951cec84ef5816f48349.tar.xz |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/db.c | 1 |
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; } |