[pacman-dev] [PATCH 3/3] pactree: set full usage on DBs when registering
Dave Reisner
dreisner at archlinux.org
Sun Aug 4 13:25:13 EDT 2013
Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
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 42c75aa..328b6aa 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);
}
}
}
--
1.8.3.4
More information about the pacman-dev
mailing list