put back the test for existing files

closes issue #2
This commit is contained in:
yojoshb 2024-04-15 08:29:15 -05:00 committed by GitHub
parent 3bbef57521
commit 06393c9d39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,9 @@ if [ $BOT_VERSION == "latest" ]; then
fi
echo -e "Downloading JMusicBot $BOT_VERSION"
if [ ! -f JMusicBot-$BOT_VERSION.jar ]; then
wget https://github.com/jagrosh/MusicBot/releases/download/$BOT_VERSION/JMusicBot-$BOT_VERSION.jar
fi
echo -e "Starting JMusicBot $BOT_VERSION"
java -Dnogui=true -Dconfig=/config/config.txt -jar JMusicBot-$BOT_VERSION.jar