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:
parent
c0ee713704
commit
61e806b96a
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue