Suppress more output messages on successful -D options with -q
Suppress output on successful use of --asdeps and --asexplicit. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
46324d9b26
commit
97459e9eb7
1 changed files with 6 additions and 4 deletions
|
@ -74,10 +74,12 @@ static int change_install_reason(alpm_list_t *targets)
|
|||
pkgname, alpm_strerror(alpm_errno(config->handle)));
|
||||
ret = 1;
|
||||
} else {
|
||||
if(reason == ALPM_PKG_REASON_DEPEND) {
|
||||
printf(_("%s: install reason has been set to 'installed as dependency'\n"), pkgname);
|
||||
} else {
|
||||
printf(_("%s: install reason has been set to 'explicitly installed'\n"), pkgname);
|
||||
if(!config->quiet) {
|
||||
if(reason == ALPM_PKG_REASON_DEPEND) {
|
||||
printf(_("%s: install reason has been set to 'installed as dependency'\n"), pkgname);
|
||||
} else {
|
||||
printf(_("%s: install reason has been set to 'explicitly installed'\n"), pkgname);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue