pactree: set full usage on DBs when registering

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Dave Reisner 2012-07-09 10:03:20 -04:00 committed by Allan McRae
parent c0ee713704
commit 61e806b96a
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}
}