nadeko/init/40_nadekoinstall.sh
2016-05-06 08:45:10 +01:00

9 lines
340 B
Bash

#!/bin/bash
##Install NadekoBot
#Backup Existing NadekoBot
rsync /root/NadekoBot /root/NadekoBot.bak
#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