更新脚本使用说明,移除 wget 命令示例以简化使用流程
This commit is contained in:
3
1.sh
3
1.sh
@ -3,7 +3,8 @@
|
||||
# ...
|
||||
#
|
||||
# 使用方法:
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/1.sh"; curl -fsSL "$URL" | bash || wget -q -O - "$URL" | bash
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/1.sh"; curl -fsSL "$URL" | bash
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/1.sh"; wget -q -O - "$URL" | bash
|
||||
|
||||
set -e # 遇到错误即退出
|
||||
trap 'echo "Error on line $LINENO"' ERR
|
||||
|
Reference in New Issue
Block a user