From 61e806b96a8828152e78ab9eff03c490a23b22e9 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 9 Jul 2012 10:03:20 -0400 Subject: pactree: set full usage on DBs when registering Signed-off-by: Dave Reisner Signed-off-by: Allan McRae --- src/util/pactree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/pactree.c b/src/util/pactree.c index 3d55d9f1..7813267d 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -211,7 +211,8 @@ static int register_syncs(void) section = strndup(&line[1], linelen - 2); if(section && strcmp(section, "options") != 0) { - alpm_register_syncdb(handle, section, level); + alpm_db_t *db = alpm_register_syncdb(handle, section, level); + alpm_db_set_usage(db, ALPM_DB_USAGE_ALL); } } } -- cgit v1.2.3-70-g09d2