From ce1fb07436279b2ac70bdad91cf81db550292322 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Sat, 14 Jul 2007 00:31:48 +0200 Subject: libalpm/sync.c : ldconfig is run twice. remove _alpm_ldconfig call from _alpm_sync_commit, since sync operation causes an upgrade transaction, where ldconfig is already run. Reference: http://www.archlinux.org/pipermail/pacman-dev/2007-April/008132.html Signed-off-by: Chantry Xavier Signed-off-by: Dan McGee --- lib/libalpm/sync.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/libalpm') diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 9c3884f8..1948c5ff 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -1041,12 +1041,6 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data) } } - /* run ldconfig if it exists */ - if(handle->trans->state != STATE_INTERRUPTED) { - _alpm_log(PM_LOG_DEBUG, "running \"ldconfig -r %s\"", handle->root); - _alpm_ldconfig(handle->root); - } - return(0); error: -- cgit v1.2.3-70-g09d2