Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/pactree.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}
}