更新 upgrade.sh 脚本,修改使用方法中的下载命令,从 curl 更改为 wget
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
# 功能:更新软件包、清理缓存、检查服务状态
|
||||
#
|
||||
# 使用方法:
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/alpine/upgrade.sh"; curl -fsSL "$URL" | bash
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/alpine/upgrade.sh"; 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