更新一键安装命令为Gitee地址

This commit is contained in:
2025-11-30 20:57:28 +08:00
parent 252bfe8cc3
commit 49fb194b4a

View File

@@ -206,17 +206,14 @@ sysctl -p
提供一键脚本,自动完成 CUPS 安装和配置:
```bash
# 下载并运行一键脚本
wget -O setup_cups.sh https://你的地址/setup_cups.sh
chmod +x setup_cups.sh
./setup_cups.sh
```
# 方式一:直接运行(最简单)
curl -fsSL https://gitee.com/yu-yon/S905L3A/raw/master/setup_cups.sh | bash
或者如果脚本已在本地:
# 方式二使用wget
wget -qO- https://gitee.com/yu-yon/S905L3A/raw/master/setup_cups.sh | bash
```bash
chmod +x setup_cups.sh
./setup_cups.sh
# 方式三:先下载再执行(更安全)
curl -fsSL https://gitee.com/yu-yon/S905L3A/raw/master/setup_cups.sh -o setup_cups.sh && chmod +x setup_cups.sh && ./setup_cups.sh
```
脚本功能: