tazpkg diff modules/install @ rev 886
Change icons presentation in code - free to use anywhere, simplify icons substitution, minify html, misc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 10 04:08:41 2015 +0200 (2015-12-10) |
parents | 908bac5e1d8c |
children | 1362693564d1 |
line diff
1.1 --- a/modules/install Fri Dec 04 02:42:03 2015 +0200 1.2 +++ b/modules/install Thu Dec 10 04:08:41 2015 +0200 1.3 @@ -599,10 +599,12 @@ 1.4 awk -F$'\t' -vpv="$PACKAGE" '$1==pv { exit 1 }' "$PKGS_DB/installed.info" 1.5 1.6 if [ "$?" -eq 1 ]; then 1.7 - newline 1.8 - _ '"%s" package is already installed.' "$(colorize 34 "$PACKAGE")" 1.9 - longline "$(_ 'You can use the --forced option to force installation.')" 1.10 - newline 1.11 + if [ -z "$quiet" ]; then 1.12 + newline 1.13 + _ '"%s" package is already installed.' "$(colorize 34 "$PACKAGE")" 1.14 + longline "$(_ 'You can use the --forced option to force installation.')" 1.15 + newline 1.16 + fi 1.17 exit 1 1.18 fi 1.19 fi