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