更新 alpine.sh 中的使用方法注释,添加 wget 备用下载方式

This commit is contained in:
mini2024
2025-03-10 01:24:00 +08:00
parent ceac348b20
commit b423a5562b

View File

@ -4,7 +4,7 @@
# 功能:更新软件包、清理缓存、检查服务状态
#
# 使用方法:
# curl -fsSL git.1-h.cc/Scripts/Linux/raw/branch/main/alpine.sh | bash
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/alpine.sh"; curl -fsSL "$URL" | bash || wget -q -O - "$URL" | bash
cat <<EOF > /etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/latest-stable/main