From e8382cca7c5a03f4f88f78e919430268cd3d7282 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sun, 24 Apr 2005 11:13:26 +0000 Subject: [PATCH] outputs cleanup --- src/pacman/package.c | 6 +++--- src/pacman/sync.c | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pacman/package.c b/src/pacman/package.c index 8108fb4f..d151fd54 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -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; } diff --git a/src/pacman/sync.c b/src/pacman/sync.c index a29e0779..5c480009 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -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 */