From 616620ad5ca9607b854a66c854b9c71b700364e7 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 1 Feb 2007 03:31:46 +0000 Subject: * Minor output fix (move colon so it's not part of the URL) * Added ldconfig on --sync operations too --- lib/libalpm/sync.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/libalpm/sync.c') diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 5e4d5f60..329353a1 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -1079,6 +1079,13 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data) unlink(i->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-24-g4f1b