diff --git a/init/40_nadekoinstall.sh b/init/40_nadekoinstall.sh index 645213c..834682c 100644 --- a/init/40_nadekoinstall.sh +++ b/init/40_nadekoinstall.sh @@ -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 \ No newline at end of file +unzip /root/NadekoBot.latest.zip -d /root/NadekoBot