From f307a6d4a0991e5a3540d7bcb1955cb6d500f532 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 7 Jun 2026 20:08:25 +0200 Subject: [PATCH] feat(installer): remove old installation before downloading --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index c76a1e6..03f1a5d 100644 --- a/install.sh +++ b/install.sh @@ -9,6 +9,10 @@ TEMP_DIR=$(mktemp -d) cleanup() { rm -rf $TEMP_DIR; } trap cleanup EXIT +echo "Removing old installation if they exist" +rm -rf $INSTALL_DIR/simple-tts +rm $EXECUTABLE_BIN/tts + echo "Installing to: $INSTALL_DIR" echo "Downloading simple-tts.tgz"