feat(installer): remove old installation before downloading
This commit is contained in:
parent
90f01391a1
commit
f307a6d4a0
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ TEMP_DIR=$(mktemp -d)
|
||||||
cleanup() { rm -rf $TEMP_DIR; }
|
cleanup() { rm -rf $TEMP_DIR; }
|
||||||
trap cleanup EXIT
|
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 "Installing to: $INSTALL_DIR"
|
||||||
|
|
||||||
echo "Downloading simple-tts.tgz"
|
echo "Downloading simple-tts.tgz"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue