diff options
Diffstat (limited to 'scripts/aurblup')
-rw-r--r-- | scripts/aurblup/aurblup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/aurblup/aurblup.c b/scripts/aurblup/aurblup.c index be398f8..f072669 100644 --- a/scripts/aurblup/aurblup.c +++ b/scripts/aurblup/aurblup.c @@ -189,11 +189,11 @@ dblist_create(void) int i; for (i = 0; i < sizeof(alpm_repos) / sizeof(char *); i++) { - if (!alpm_db_register_sync(handle, alpm_repos[i], 0)) + if (!alpm_register_syncdb(handle, alpm_repos[i], 0)) alpm_die("failed to register sync db \"%s\": %s\n", alpm_repos[i]); } - if (!(dblist = alpm_option_get_syncdbs(handle))) + if (!(dblist = alpm_get_syncdbs(handle))) alpm_die("failed to get sync DBs: %s\n"); for (d = dblist; d; d = alpm_list_next(d)) { |