Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=5264f610df154443d47be910e63996f6bdfa2e9d
commit 5264f610df154443d47be910e63996f6bdfa2e9d Author: James Buren <r...@frugalware.org> Date: Mon Feb 18 04:59:47 2013 -0600 libpacman: move ldconfig before post_remove is called diff --git a/lib/libpacman/remove.c b/lib/libpacman/remove.c index 90a2ac1..3b25c4d 100644 --- a/lib/libpacman/remove.c +++ b/lib/libpacman/remove.c @@ -283,10 +283,10 @@ int _pacman_remove_commit(pmtrans_t *trans, pmlist_t **data) if(trans->type != PM_TRANS_TYPE_UPGRADE) { /* run the post-remove script if it exists */ if(info->scriptlet && !(trans->flags & PM_TRANS_FLAG_NOSCRIPTLET)) { - snprintf(pm_install, PATH_MAX, "%s/%s-%s/install", db->path, info->name, info->version); - _pacman_runscriptlet(handle->root, pm_install, "post_remove", info->version, NULL, trans); /* must run ldconfig here because some scriptlets fail due to missing libs otherwise */ _pacman_ldconfig(handle->root); + snprintf(pm_install, PATH_MAX, "%s/%s-%s/install", db->path, info->name, info->version); + _pacman_runscriptlet(handle->root, pm_install, "post_remove", info->version, NULL, trans); } } _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git