From db77d685607c5ba2c59987c62bc76b539c6a5b1b Mon Sep 17 00:00:00 2001 From: AhFei Date: Thu, 8 Jun 2023 19:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'one-touch.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除压缩包 --- one-touch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/one-touch.sh b/one-touch.sh index e722bca..a1a6621 100644 --- a/one-touch.sh +++ b/one-touch.sh @@ -21,8 +21,8 @@ latest_version=$(curl -m 10 -sL "https://api.github.com/repos/zdz/ServerStatus-R # step 1: 下载和解压客户端 wget --no-check-certificate -qO "client-${OS_ARCH}-unknown-linux-musl.zip" "https://github.com/zdz/ServerStatus-Rust/releases/download/${latest_version}/client-${OS_ARCH}-unknown-linux-musl.zip" - unzip -o "client-${OS_ARCH}-unknown-linux-musl.zip" +rm "client-${OS_ARCH}-unknown-linux-musl.zip" # client systemd service cat > /etc/systemd/system/stat_client.service < /etc/systemd/system/stat_server.service <