I'm trying to do an unattended install of phpmyadmin however during the install it prompts you to select which web server your using ie apache or lighttpd what i'd like to do is pass the lighttpd value automatically ie
apt-get install phpmyadmin &value lighttpd
You can use echo with pipe:
From askubuntu