From edb9bd23fe964e9187d530b5880acefd6f841f91 Mon Sep 17 00:00:00 2001 From: Poag Date: Fri, 6 May 2016 17:23:35 +0100 Subject: [PATCH] Update 40_nadekoinstall.sh Cleanup old installs --- init/40_nadekoinstall.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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