更新 upgrade.sh 脚本,修改使用方法中的下载命令,从 curl 更改为 wget
This commit is contained in:
1 parent
1c6bac7c2b
commit
ccaebc1462
1 file changed
+1
-1
+1
-1
@@ -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