更新脚本执行方式,使用bash命令替代curl下载并执行

This commit is contained in:
eddy
2025-11-13 21:45:45 +08:00
parent 46673cd7ea
commit 5da8856965

View File

@@ -4,12 +4,12 @@
- sysUpdate
```sh
curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/01-sysUpdate.sh)
```
- sysCleanup
```sh
curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/02-sysCleanup.sh && chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/02-sysCleanup.sh)
```
- docker