From 0423350ebf29c88a3cb2de5ead2cdcfa52da88a5 Mon Sep 17 00:00:00 2001 From: mcguirepr89 <60325264+mcguirepr89@users.noreply.github.com> Date: Fri, 1 Oct 2021 13:44:32 -0400 Subject: [PATCH] added pulseaudio check in install_alsa() --- scripts/install_services.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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() {