From a03313f3f66e9ac03392cb255bc6c4e1958e14c2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 8 Sep 2011 14:14:51 -0500 Subject: 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 --- src/pacman/upgrade.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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))); -- cgit v1.2.3-70-g09d2