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>
This commit is contained in:
parent
905ae640cf
commit
a03313f3f6
1 changed files with 1 additions and 0 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Reference in a new issue