mirror of
https://github.com/sky22333/hubproxy.git
synced 2026-06-23 16:45:04 +08:00
fix
This commit is contained in:
@@ -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` 服务。
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user