tazpkg diff modules/install @ rev 916

Restore AUTO_INSTALL_DEPS behaviour
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 01 16:25:14 2016 +0200 (2016-08-01)
parents 92509572ed28
children 9a88902937e5
line diff
     1.1 --- a/modules/install	Fri Jul 22 09:57:30 2016 +0300
     1.2 +++ b/modules/install	Mon Aug 01 16:25:14 2016 +0200
     1.3 @@ -128,13 +128,11 @@
     1.4  		"$num")"
     1.5  
     1.6  
     1.7 -	if [ -n "$quiet" ]; then
     1.8 +	if [ "$AUTO_INSTALL_DEPS" == 'yes' ] || [ -n "$quiet" ]; then
     1.9  		# Quietly not display anything. Assume 'yes' unless '--noconfirm' is provided
    1.10  		answer=0
    1.11  		[ -n "$noconfirm" ] && answer=1
    1.12  	else
    1.13 -		[ "$AUTO_INSTALL_DEPS" == 'yes' ] && yes='yes'
    1.14 -
    1.15  		# Display question; wait for answer or print auto-answer
    1.16  		newline
    1.17  		confirm "$(_ 'Install all missing dependencies? (y/N)')"