From 8a74fe4ab857c2d73191de3b38185e53db1837e2 Mon Sep 17 00:00:00 2001 From: mirai-toto <85745033+mirai-toto@users.noreply.github.com> Date: Fri, 17 Nov 2023 23:04:38 +0100 Subject: [PATCH] Update run_jmusicbot.sh Fix shell syntax error --- scripts/run_jmusicbot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_jmusicbot.sh b/scripts/run_jmusicbot.sh index 70a6874fe..03b284d69 100644 --- a/scripts/run_jmusicbot.sh +++ b/scripts/run_jmusicbot.sh @@ -9,7 +9,7 @@ DOWNLOAD=true LOOP=true download() { - if [ $DOWNLOAD == true ]; then + if [ $DOWNLOAD = true ]; then URL=$(curl -s https://api.github.com/repos/jagrosh/MusicBot/releases/latest \ | grep -i browser_download_url.*\.jar \ | sed 's/.*\(http.*\)"/\1/')