tazpkg rev 878
module install: implement --quite mode in install_all_deps()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 30 02:27:33 2015 +0200 (2015-11-30) |
parents | a458663ae7d4 |
children | a3c27a443a4d |
files | modules/install |
line diff
1.1 --- a/modules/install Mon Nov 30 02:18:50 2015 +0200 1.2 +++ b/modules/install Mon Nov 30 02:27:33 2015 +0200 1.3 @@ -114,20 +114,21 @@ 1.4 [ -z "$num" ] && return 1.5 1.6 1.7 - title "$(_ 'Tracking dependencies for package "%s"' "$PACKAGE")" 1.8 + qtitle "$(_ 'Tracking dependencies for package "%s"' "$PACKAGE")" 1.9 1.10 # Individual messages for each missing package 1.11 + [ -z "$quiet" ] && \ 1.12 for pkg in $missing_packages; do 1.13 _ 'Missing package "%s"' "$pkg" 1.14 done 1.15 1.16 - footer "$(_p \ 1.17 + qfooter "$(_p \ 1.18 '%s missing package to install.' \ 1.19 '%s missing packages to install.' "$num" \ 1.20 "$num")" 1.21 1.22 1.23 - if [ "$AUTO_INSTALL_DEPS" == 'yes' ]; then 1.24 + if [ "$AUTO_INSTALL_DEPS" == 'yes' -o -n "$quiet" ]; then 1.25 answer=0 1.26 else 1.27 newline