index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2012-07-09 10:03:20 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-09-04 09:51:20 +1000 |
commit | 61e806b96a8828152e78ab9eff03c490a23b22e9 (patch) | |
tree | 5e8a8b94fba1b19067050d8901499a250e449e5f /src/util/pactree.c | |
parent | c0ee713704d058bac560172544d6bdef5414fe4e (diff) |
-rw-r--r-- | src/util/pactree.c | 3 |
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); } } } |