summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2013-04-28 13:44:32 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2013-08-17 18:24:21 +0200
commitf0e2c399df909d0cbb10af72e6e7badb9bbc9ff2 (patch)
treed92baabddde8a76ba9c3aa10500d52054258425d /scripts
parentca067d5492c72e2e034b14d294565881f0167a1f (diff)
downloadaurweb-f0e2c399df909d0cbb10af72e6e7badb9bbc9ff2.tar.xz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/aurblup/aurblup.c4
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)) {