From 8c89190673ebefebdd6920205f3d07057eabe10b Mon Sep 17 00:00:00 2001 From: kercre123 Date: Mon, 29 Jan 2024 19:10:15 -0600 Subject: [PATCH] Run sync command - I had some issues with SBCs when this wasn't run --- setup.sh | 1 + update.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/setup.sh b/setup.sh index 819677ee..0bd37b6f 100755 --- a/setup.sh +++ b/setup.sh @@ -552,6 +552,7 @@ function setupSystemd() { export LD_LIBRARY_PATH="$HOME/.coqui/:$LD_LIBRARY_PATH" /usr/local/go/bin/go build cmd/coqui/main.go fi + sync mv main chipper echo echo "./chipper/chipper has been built!" diff --git a/update.sh b/update.sh index f3c265cb..6b62b9e1 100755 --- a/update.sh +++ b/update.sh @@ -54,6 +54,8 @@ if [[ -f ./chipper/chipper ]]; then echo "Unsupported STT ${STT_SERVICE}. You must build this manually. The code has been updated, though." exit 1 fi + echo "Syncing..." + sync sudo systemctl daemon-reload sudo systemctl start wire-pod echo "wire-pod is now running with the updated code!"