We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6eff49 commit 4ae2837Copy full SHA for 4ae2837
install.sh
@@ -928,9 +928,9 @@ if [ $targetSystem = raspi ] ; then
928
sudo bash $INSTALLERDIR/raspi/access_point/wap.sh
929
fi
930
931
-read -p "Do you want to download languages for offline recognition?[Y/N] " -n 1 -r
932
-echo # (optional) move to a new line
933
-if [[ ! $REPLY =~ ^[Yy]$ ]]; then
+read -p "Do you want to download languages for offline recognition?[y/n] " lang
+echo
+if [[ $lang = y ]] ; then
934
SR_LIB=$(python3 -c "import speech_recognition as sr, os.path as p; print(p.dirname(sr.__file__))")
935
sudo mkdir "$SR_LIB/it-IT"
936
sudo mkdir "$SR_LIB/temp"
0 commit comments