diff --git a/scripts/install_services.sh b/scripts/install_services.sh index bb829f9..0a3365d 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -80,7 +80,7 @@ create_necessary_dirs() { } install_alsa() { - echo "Checking for alsa-utils" + echo "Checking for alsa-utils and pulseaudio" if which arecord &> /dev/null ;then echo "alsa-utils installed" else @@ -89,6 +89,14 @@ install_alsa() { apt install -qqy alsa-utils echo "alsa-utils installed" fi + if which pulseaudio &> /dev/null;then + echo "PulseAudio installed" + else + echo "Installing pulseaudio" + apt -qqq update + apt install -qqy pulseaudio + echo "PulseAudio installed" + fi } install_recording_service() {