adding sox mp3 extension to installation

This commit is contained in:
mcguirepr89
2022-02-14 13:47:52 -05:00
parent 2c1216aeae
commit 21a302f0d5
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
}
+2 -2
View File
@@ -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
}