mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
outputs cleanup
This commit is contained in:
parent
45247b4e35
commit
e8382cca7c
@ -65,13 +65,13 @@ void dump_pkg_full(PM_PKG *pkg, int level)
|
||||
printf("Reason: : ");
|
||||
switch((int)alpm_pkg_getinfo(pkg, PM_PKG_REASON)) {
|
||||
case PM_PKG_REASON_EXPLICIT:
|
||||
printf("explicitly installed\n");
|
||||
printf("Explicitly installed\n");
|
||||
break;
|
||||
case PM_PKG_REASON_DEPEND:
|
||||
printf("installed as a dependency for another package\n");
|
||||
printf("Installed as a dependency for another package\n");
|
||||
break;
|
||||
default:
|
||||
printf("unknown\n");
|
||||
printf("Unknown\n");
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -711,13 +711,11 @@ int pacman_sync(list_t *targets)
|
||||
}
|
||||
|
||||
/* Step 3: actually perform the installation */
|
||||
MSG(NL, "commiting sync transaction... ");
|
||||
if(alpm_trans_commit(&data) == -1) {
|
||||
ERR(NL, "failed to commit transaction (%s)\n", alpm_strerror(pm_errno));
|
||||
retval = 1;
|
||||
goto cleanup;
|
||||
}
|
||||
MSG(CL, "done.\n");
|
||||
|
||||
if(!varcache && !pmo_s_downloadonly) {
|
||||
/* delete packages */
|
||||
|
Loading…
Reference in New Issue
Block a user