This commit is contained in:
sky22333
2026-05-11 23:14:21 +08:00
parent c7a7f3d146
commit ba83a44492
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ docker run -d \
自动识别系统与架构,从 GitHub Releases 下载对应的 `.deb``.rpm``.apk` 安装包:
```bash
curl -fsSL https://raw.githubusercontent.com/sky22333/hubproxy/main/install.sh | sudo sh
curl -fsSL https://raw.githubusercontent.com/sky22333/hubproxy/main/install.sh | sh
```
安装包会自动安装并启动 `hubproxy` 服务。

View File

@@ -92,7 +92,7 @@ install_package() {
}
if [ "$(id -u)" -ne 0 ]; then
fail "请使用 root 权限运行例如curl -fsSL https://raw.githubusercontent.com/${REPO}/main/install.sh | sudo sh"
fail "请使用 root 权限运行"
fi
need_cmd curl