From a90d7ec3ca996aa310af0df70937484970baa783 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 24 Oct 2023 20:37:12 -0600 Subject: [PATCH] Update packages pre-install with apt-get. --- simple-nerd-dictation-installer.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simple-nerd-dictation-installer.sh b/simple-nerd-dictation-installer.sh index da2ffc7..a6ec799 100644 --- a/simple-nerd-dictation-installer.sh +++ b/simple-nerd-dictation-installer.sh @@ -21,6 +21,8 @@ else exit fi +sudo apt-get update -q2 + ENGLISH_VOSK_MODEL="https://alphacephei.com/vosk/models/vosk-model-en-us-0.22-lgraph.zip" SPANISH_VOSK_MODEL="https://alphacephei.com/vosk/models/vosk-model-small-es-0.42.zip" FRENCH_VOSK_MODEL="https://alphacephei.com/vosk/models/vosk-model-small-fr-0.22.zip" @@ -72,7 +74,7 @@ done VOSK_FOLDER="$(basename $VOSK_MODEL|sed 's|.zip||')" # Install dependencies -sudo apt install -y git ssh python3-setuptools pulseaudio-utils xdotool +sudo apt-get install -y git ssh python3-setuptools pulseaudio-utils xdotool # Install vosk python3 module. [ -d "$OPT_VOSK" ] && sudo rm -rf "$OPT_VOSK"