cleanup for add_loadtarget() logs
This commit is contained in:
parent
5e2a2637c8
commit
4a5c607258
2 changed files with 1 additions and 2 deletions
|
@ -60,7 +60,6 @@ int add_loadtarget(pmdb_t *db, pmtrans_t *trans, char *name)
|
||||||
/* ORE
|
/* ORE
|
||||||
load_pkg should be done only if pkg has to be added to the transaction */
|
load_pkg should be done only if pkg has to be added to the transaction */
|
||||||
|
|
||||||
_alpm_log(PM_LOG_FLOW2, "reading %s...", name);
|
|
||||||
info = pkg_load(name);
|
info = pkg_load(name);
|
||||||
if(info == NULL) {
|
if(info == NULL) {
|
||||||
/* pm_errno is already set by pkg_load() */
|
/* pm_errno is already set by pkg_load() */
|
||||||
|
|
|
@ -256,7 +256,7 @@ int alpm_db_update(PM_DB *db, char *archive, char *ts)
|
||||||
/* ORE
|
/* ORE
|
||||||
we should not simply unpack the archive, but better parse it and
|
we should not simply unpack the archive, but better parse it and
|
||||||
db_write each entry */
|
db_write each entry */
|
||||||
_alpm_log(PM_LOG_FLOW2, "Unpacking %s...\n", archive);
|
_alpm_log(PM_LOG_FLOW2, "unpacking %s...\n", archive);
|
||||||
if(_alpm_unpack(archive, db->path, NULL)) {
|
if(_alpm_unpack(archive, db->path, NULL)) {
|
||||||
RET_ERR(PM_ERR_XXX, -1);
|
RET_ERR(PM_ERR_XXX, -1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue