diff --git a/scripts/install_services.sh b/scripts/install_services.sh index ff73340..ac1bc91 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -442,12 +442,12 @@ EOF } install_sox() { - if which sox &> /dev/null;then + if which sox | grep mp3 &> /dev/null;then echo "Sox is installed" else echo "Installing sox" apt -qq update - apt install -y sox + apt install -y sox libsox-fmt-mp3 echo "Sox installed" fi } diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 3dcd03b..69c2de3 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -438,11 +438,11 @@ EOF } install_sox() { - if which sox &> /dev/null;then + if which sox | grep mp3 &> /dev/null;then echo "Sox is installed" else echo "Installing sox" - apt install -y sox + apt install -y sox libsox-fmt-mp3 echo "Sox installed" fi }