summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-07-08 11:08:32 +0200
committerDan McGee <dan@archlinux.org>2009-07-16 06:12:04 -0500
commit2e043aae36bdb8a7591646db00a95dd21f1f368f (patch)
tree6bc63b3cb042e310aa21d6991cfdaff589fa5f14 /lib/libalpm/remove.c
parent41a55d4effecfb2914e96ed4a99eb621557c6d2f (diff)
downloadpacman-2e043aae36bdb8a7591646db00a95dd21f1f368f.tar.xz
Run ldconfig inside chroot.
This fixes FS#15294. The code to run a command inside a chroot was refactored from the _alpm_runscriptlet function to _alpm_run_chroot. Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index fdf8cce1..d31bf310 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -404,7 +404,6 @@ int _alpm_remove_commit(pmtrans_t *trans, pmdb_t *db)
/* run ldconfig if it exists */
if(trans->type != PM_TRANS_TYPE_REMOVEUPGRADE) {
- _alpm_log(PM_LOG_DEBUG, "running \"ldconfig -r %s\"\n", handle->root);
_alpm_ldconfig(handle->root);
}