diff -Naur alsa-utils-1.0.8-orig/alsaconf/alsaconf.in alsa-utils-1.0.8/alsaconf/alsaconf.in --- alsa-utils-1.0.8-orig/alsaconf/alsaconf.in 2004-12-29 18:10:47 +0200 +++ alsa-utils-1.0.8/alsaconf/alsaconf.in 2005-01-13 21:31:40 +0200 @@ -207,27 +207,12 @@ fi fi -# Check for dialog, whiptail, gdialog, awk, ... ? +# Check for dialog, gdialog, awk, ... ? if which dialog > /dev/null; then DIALOG=dialog else - if which whiptail > /dev/null; then - whiptail_wrapper() { - X1="$1" - X2="$2" - if [ $1 = --yesno ]; then - X3=`expr $3 + 2` - else - X3=$3 - fi - shift 3 - whiptail "$X1" "$X2" $X3 "$@" - } - DIALOG=whiptail_wrapper - else - xecho "Error, dialog or whiptail not found." - exit 1 - fi + xecho "Error, dialog not found." + exit 1 fi if which awk > /dev/null; then : else