Don't prompt for user input from stdin if it's not a tty.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 12 Nov 2009 06:38:44 +0000 (06:38 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 12 Nov 2009 06:38:44 +0000 (06:38 +0000)
commitf0920f2896c409d519e51744a2e2618a99ec8b8c
tree677f64e19d7f2fc4b833411fd44e8014836aba56
parent99be91a0fdb86a6826a0cdcf8bede14b7d01c9a8
Don't prompt for user input from stdin if it's not a tty.

Based off a patch by Chris Larson <clarson@mvista.com> for OpenEmbedded.

git-svn-id: http://opkg.googlecode.com/svn/trunk@290 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/opkg_install.c
libopkg/user.c