diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-04-19 04:15:44 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-05-09 03:58:39 +0200 |
commit | 22a58f5420438f35effb991696d37529d7a31969 (patch) | |
tree | 9f4c525f14409a1cba23c24d8ee21a4cd9c1e782 /src | |
parent | 557845bc971ff272c53da773baea277a2d2d47b8 (diff) | |
download | pacman-22a58f5420438f35effb991696d37529d7a31969.tar.gz pacman-22a58f5420438f35effb991696d37529d7a31969.tar.xz |
Swap alpm_db_update() implementation to multiplexed version
Now when all callers of the old alpm_db_update() function are gone we can
remove this implementation. And then rename alpm_dbs_update() function to
alpm_db_update().
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c index 9422c0c3..e9187529 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -154,7 +154,7 @@ int sync_syncdbs(int level, alpm_list_t *syncs) int force = (level < 2 ? 0 : 1); multibar_move_completed_up(false); - ret = alpm_dbs_update(config->handle, syncs, force); + ret = alpm_db_update(config->handle, syncs, force); if(ret < 0) { pm_printf(ALPM_LOG_ERROR, _("failed to synchronize all databases (%s)\n"), alpm_strerror(alpm_errno(config->handle))); |