更新 alpine.sh 中的使用方法注释,添加 wget 备用下载方式
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user