Frans Pop wrote: > As it is smallyes only echos an endless stream of newlines...
That's what it's intended to do when run with ''. > I ran an install with a 'return 0' at the top of smallyes, and that completed > successfully, so it seems that probably we can just remove the use of > smallyes, > at least from the "sid" script. If it's removed, any package that manually prompts for input can cause debootstrap to hang. This patch should avoid the error message from echo and work fine. Index: functions =================================================================== --- functions (revision 53069) +++ functions (working copy) @@ -2,7 +2,7 @@ smallyes() { YES="${1-y}" - while echo "$YES" ; do : ; done + while echo "$YES" 2>/dev/null ; do : ; done } ############################################################### interaction -- see shy jo
signature.asc
Description: Digital signature