We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ae3a9 commit 1948bf0Copy full SHA for 1948bf0
install.sh
@@ -141,7 +141,7 @@ install_pkg() {
141
msg warn "安装依赖包 >${pkg}"
142
$cmd install -y $pkg &>/dev/null
143
if [[ $? != 0 ]]; then
144
- [[ $cmd == yum ]] && yum install epel-release -y &>/dev/null
+ [[ $cmd =~ yum ]] && yum install epel-release -y &>/dev/null
145
$cmd update -y &>/dev/null
146
147
[[ $? == 0 ]] && >$is_pkg_ok
xray.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
3
args=$@
4
-is_sh_ver=v1.08
+is_sh_ver=v1.09
5
6
. /etc/xray/sh/src/init.sh
0 commit comments