Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-08 14:14:51 -0500
committerDan McGee <dan@archlinux.org>2011-09-08 14:14:51 -0500
commita03313f3f66e9ac03392cb255bc6c4e1958e14c2 (patch)
tree668e12f3f489bf864ae622af116e555992008e7a
parent905ae640cfb0787e9bdfbcacf21c62e64cc27512 (diff)
Print 'loading packages' message on -U operations
This will be the first thing printed when doing an upgrade. Currently there is no output at all until we start resolving dependencies, which can be a while in if specifying very large targets on the command line, in which case it is nice to let the user know we are doing something. Addresses FS#25822 in the most KISS way possible. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--src/pacman/upgrade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c
index e4b2e2bf..dcd0d664 100644
--- a/src/pacman/upgrade.c
+++ b/src/pacman/upgrade.c
@@ -75,6 +75,7 @@ int pacman_upgrade(alpm_list_t *targets)
char *targ = alpm_list_getdata(i);
alpm_pkg_t *pkg;
+ printf(_("loading packages...\n"));
if(alpm_pkg_load(config->handle, targ, 1, level, &pkg) != 0) {
pm_fprintf(stderr, ALPM_LOG_ERROR, "'%s': %s\n",
targ, alpm_strerror(alpm_errno(config->handle)));