Update warp-go.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 3 years ago committed by GitHub
parent 3ea6e80083
commit 7014ceea17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      warp-go.sh

@ -25,8 +25,8 @@ E[8]="Install dependence-list:"
C[8]="安装依赖列表:"
E[9]="All dependencies already exist and do not need to be installed additionally."
C[9]="所有依赖已存在,不需要额外安装"
E[10]="Installation of curl fails. Script aborts. Feedback:[https://github.com/fscarmen/warp/issues]"
C[10]="安装 curl 失败,脚本中止,问题反馈:[https://github.com/fscarmen/warp/issues]"
E[10]=""
C[10]=""
E[11]="Warp-go is not installed yet."
C[11]="还没有安装 warp-go"
E[12]="To install, press [y] and other keys to exit:"
@ -927,13 +927,13 @@ EOF
# 根据系统选择需要安装的依赖, 安装一些必要的网络工具包
info "\n $(text 61) \n"
Debian() { ! type -p ip >/dev/null 2>&1 && (${PACKAGE_UPDATE[int]}; ${PACKAGE_INSTALL[int]} --no-install-recommends iproute2); }
Debian() { :; }
Ubuntu() { ! type -p ip >/dev/null 2>&1 && (${PACKAGE_UPDATE[int]}; ${PACKAGE_INSTALL[int]} --no-install-recommends iproute2); }
Ubuntu() { :; }
CentOS() { :; }
Alpine() { ${PACKAGE_INSTALL[int]} iproute2 openrc; }
Alpine() { ${PACKAGE_INSTALL[int]} openrc; }
Arch() { ${PACKAGE_INSTALL[int]} openresolv; }

Loading…
Cancel
Save