mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 03:54:59 -05:00
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>
This commit is contained in:
parent
edcefb1d58
commit
ce1fb07436
@ -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);
|
return(0);
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
Reference in New Issue
Block a user