mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 17:31:52 -05:00
* Minor output fix (move colon so it's not part of the URL)
* Added ldconfig on --sync operations too
This commit is contained in:
parent
21e19a7bcf
commit
616620ad5c
@ -187,7 +187,7 @@ int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath,
|
||||
}
|
||||
|
||||
if(downloadLastErrCode != 0 || dlf == NULL) {
|
||||
_alpm_log(PM_LOG_ERROR, _("failed retrieving file '%s' from %s://%s: %s"), fn,
|
||||
_alpm_log(PM_LOG_ERROR, _("failed retrieving file '%s' from %s://%s : %s"), fn,
|
||||
server->s_url->scheme, server->s_url->host, downloadLastErrString);
|
||||
if(localf != NULL) {
|
||||
fclose(localf);
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user