summaryrefslogtreecommitdiffstats
path: root/src/pacman/add.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-01 07:35:30 +0100
committerDan McGee <dan@archlinux.org>2007-02-01 07:35:30 +0100
commitcdaed9221d9614c4c43103d79f8b53b916d80d86 (patch)
tree4a96afbd93f1e52f8a3104979f95d3ba76acce79 /src/pacman/add.c
parent8c0a8ddc5bb6443358e1cbba8023b6e9dc786fca (diff)
downloadpacman-cdaed9221d9614c4c43103d79f8b53b916d80d86.tar.gz
pacman-cdaed9221d9614c4c43103d79f8b53b916d80d86.tar.xz
* Tried to clean up newline display a bit in the frontend.
* Removed useless buildstring function from util.h; replaced all calls of it with list_display. * Made list_display output 2 spaces instead of 1 between each item.
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r--src/pacman/add.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index 6572b8fc..74f9e27b 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -76,12 +76,13 @@ int pacman_add(alpm_list_t *targets)
MSG(NL, _("loading package data... "));
for(i = targets; i; i = i->next) {
if(alpm_trans_addtarget(i->data) == -1) {
+ MSG(NL, "\n");
ERR(NL, _("failed to add target '%s' (%s)\n"), (char *)i->data, alpm_strerror(pm_errno));
retval = 1;
goto cleanup;
}
}
- MSG(CL, _("done."));
+ MSG(CL, _("done.\n"));
/* Step 2: "compute" the transaction based on targets and flags
*/