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
1 changed files with 2 additions and 1 deletions
|
@ -211,7 +211,8 @@ static int register_syncs(void)
|
||||||
section = strndup(&line[1], linelen - 2);
|
section = strndup(&line[1], linelen - 2);
|
||||||
|
|
||||||
if(section && strcmp(section, "options") != 0) {
|
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…
Add table
Reference in a new issue