Update 40_nadekoinstall.sh
Cleanup old installs
This commit is contained in:
parent
6f9f6add98
commit
edb9bd23fe
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
##Install NadekoBot
|
##Install NadekoBot
|
||||||
|
|
||||||
#Backup Existing NadekoBot
|
#Cleanup Old
|
||||||
rsync /root/NadekoBot /root/NadekoBot.bak
|
rm -rf /root/NadekoBot
|
||||||
|
|
||||||
#Get NadekoBot Latest
|
#Get NadekoBot Latest
|
||||||
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 &&\
|
||||||
|
Loading…
Reference in New Issue
Block a user