summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-24 11:13:26 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-24 11:13:26 +0000
commite8382cca7c5a03f4f88f78e919430268cd3d7282 (patch)
treedc3c26dcfdf0829fe1d4fe69b82d8ff53f8d430b /src
parent45247b4e35cb219d5aaf5e4ed5b8be79fb410706 (diff)
downloadpacman-e8382cca7c5a03f4f88f78e919430268cd3d7282.tar.xz
outputs cleanup
Diffstat (limited to 'src')
-rw-r--r--src/pacman/package.c6
-rw-r--r--src/pacman/sync.c2
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 */