Depends on make, so add make to your flavour.
Code: Select all
#!/bin/bash
clear
echo "The ESS Maestro3 and Allegro devices require
the installation of external packages."
echo
read -p "Press any key to continue... " -n1 -s
echo
sudo apt-get update && sudo apt-get install alsa-base alsa-utils build-essential alsa-firmware-loaders
echo
echo "Getting the alsa-firmware..."
echo
cd /home/$USER/downloads/
wget http://alsa.cybermirror.org/firmware/alsa-firmware-1.0.25.tar.bz2
tar xvf alsa-firmware-1.0.25.tar.bz2
cd alsa-firmware-1.0.25
sleep 60s
./configure
cd maestro3 && make
sudo mkdir -p /usr/local/lib/firmware/ess
sudo cp *fw /usr/local/lib/firmware/ess
sudo modprobe -r snd-maestro3
sudo modprobe snd-maestro3
echo "Ok... log out and back or reboot the system!"
echo "Then restart LinuxBBQ System Hospital and"
echo "perform the sound check."
echo
read -p "Press any key to continue... " -n1 -s
exit 0