feat: file overwrite when down in install.sh
This commit is contained in:
parent
518064eb0a
commit
a579b678cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user