This commit is contained in:
Poag 2016-08-12 15:27:59 +01:00 committed by GitHub
parent 616bcfcf5d
commit 22190df132

View File

@ -4,8 +4,8 @@
rm -rf /root/NadekoBot
#Get NadekoBot Version
if [[ "$VERSION" = dev]]; then
curl -s https://api.github.com/repos/Kwoth/NadekoBot/releases | grep browser_download_url | head -n 1 | cut -d '"' -f 4|wget -i - -O /root/NadekoBot.latest.zip &&\
if [[ "$VERSION" = dev ]]; then
curl -s https://api.github.com/repos/Kwoth/NadekoBot/releases | grep browser_download_url | head -n 1 | cut -d '"' -f 4|wget -i - -O /root/NadekoBot.latest.zip
else
curl -s https://api.github.com/repos/Kwoth/NadekoBot/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4|wget -i - -O /root/NadekoBot.latest.zip &&\
fi