tazpkg diff modules/get @ rev 880
Global quite mode provided by libtaz.sh now; few tweaks.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 02:42:03 2015 +0200 (2015-12-04) |
parents | a3c27a443a4d |
children | f9b5a4545fff |
line diff
1.1 --- a/modules/get Wed Dec 02 12:43:47 2015 +0100 1.2 +++ b/modules/get Fri Dec 04 02:42:03 2015 +0200 1.3 @@ -403,7 +403,7 @@ 1.4 if [ -z "$forced" ]; then 1.5 awk -F$'\t' -vpv="$1" '$1==pv { exit 1 }' "$PKGS_DB/installed.info" 1.6 if [ "$?" -eq 1 ]; then 1.7 - ( 1.8 + [ -z "$quiet" ] && ( 1.9 newline 1.10 _ '"%s" package is already installed.' "$(colorize 34 "$1")" 1.11 longline "$(_ 'You can use the --forced option to force installation.')"