I am installing Qt so often that I decided to use a script:
Code:
#!/bin/bash
package="qt-x11-opensource-src-4.1.2"
tar -zxvf $package.tar.gz
cd $package
./configure
make
make install
exit
The configure script halts for user input, namely expecting 'yes' to accept the OS license. How can one trap this in the script?

Thanks in advance

Tech