From a579b678cc3f1214ac95058c2099084935b624f8 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Fri, 22 Dec 2023 00:36:38 +0800 Subject: [PATCH] feat: file overwrite when down in install.sh --- scripts/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 75215a9..d900b0a 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -137,8 +137,8 @@ function install_client() { echo -e "${Info} Downloading ${arch} binary file..." mkdir -p /usr/local/tianji/reporter/ cd /tmp - # wget --no-check-certificate "https://github.com/msgbyte/tianji/releases/latest/download/tianji-reporter-linux-${arch}" - wget --no-check-certificate "https://temp-storage.msgbyte.com/tianji-reporter/tianji-reporter-linux-${arch}" + # wget --no-check-certificate "https://github.com/msgbyte/tianji/releases/latest/download/tianji-reporter-linux-${arch}" -O tianji-reporter-linux-${arch} + wget --no-check-certificate "https://temp-storage.msgbyte.com/tianji-reporter/tianji-reporter-linux-${arch}" -O tianji-reporter-linux-${arch} mv tianji-reporter-linux-${arch} /usr/local/tianji/reporter/tianji-reporter chmod +x /usr/local/tianji/reporter/tianji-reporter enable_service