mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
aurblup: Update for pacman 4.1 API changes
alpm_db_register_sync() and alpm_option_get_syncdbs() have been renamed. Update aurblup sources accordingly. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
cf083cf9ba
commit
6b1ba5e48f
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue