Derp
This commit is contained in:
parent
616bcfcf5d
commit
22190df132
@ -4,10 +4,10 @@
|
|||||||
rm -rf /root/NadekoBot
|
rm -rf /root/NadekoBot
|
||||||
|
|
||||||
#Get NadekoBot Version
|
#Get NadekoBot Version
|
||||||
if [[ "$VERSION" = dev]]; then
|
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 &&\
|
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
|
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 &&\
|
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
|
fi
|
||||||
|
|
||||||
unzip /root/NadekoBot.latest.zip -d /root/NadekoBot
|
unzip /root/NadekoBot.latest.zip -d /root/NadekoBot
|
||||||
|
Loading…
Reference in New Issue
Block a user