wok-next rev 9214
nvidia: allow post_install without tty (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 11:22:16 2011 +0100 (2011-03-11) |
parents | 8ca0fdca7d34 |
children | d9b127d0b11a |
files | nvidia/receipt |
line diff
1.1 --- a/nvidia/receipt Fri Mar 11 09:47:15 2011 +0100 1.2 +++ b/nvidia/receipt Fri Mar 11 11:22:16 2011 +0100 1.3 @@ -94,7 +94,8 @@ 1.4 echo "================================================================================" 1.5 echo "For installing this package, you have to accept the $PACKAGE license." 1.6 echo "The license is stored in /usr/share/licenses/$PACKAGE " 1.7 - if [ "$(tty)" != "not a tty" ]; then 1.8 + if [ "$(tty)" != "not a tty" -a "$step_running" != 1.9 + "Looking for build dependencies" ]; then 1.10 echo -n "Would you like to read the license (y/N) : "; read anser 1.11 if [ "$anser" = "y" ]; then 1.12 more < /usr/share/licenses/"$PACKAGE"/LICENSE