summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@petra.hos.u-szeged.hu>2007-07-14 00:31:48 +0200
committerDan McGee <dan@archlinux.org>2007-07-14 07:12:18 +0200
commitce1fb07436279b2ac70bdad91cf81db550292322 (patch)
treef1f216635d6f1e33a8a503adf147892ffeed87e6 /lib/libalpm/sync.c
parentedcefb1d58115d4b5ae65e258f7eb53f33d21172 (diff)
downloadpacman-ce1fb07436279b2ac70bdad91cf81db550292322.tar.gz
pacman-ce1fb07436279b2ac70bdad91cf81db550292322.tar.xz
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 <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c6
1 files changed, 0 insertions, 6 deletions
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: