[pacman-dev] [PATCH] libalpm/db.c: default to ALPM_DB_USAGE_ALL
Andrew Gregory
andrew.gregory.8 at gmail.com
Fri Oct 18 00:36:22 EDT 2013
This allows existing front-ends other than pacman to continue working
normally.
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
lib/libalpm/db.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 3245d64..528b04b 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;
}
--
1.8.4.1
More information about the pacman-dev
mailing list