Skip to content

Commit

Permalink
fix yum install epel-release
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed May 29, 2023
1 parent 62433b8 commit 44e3409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ install_pkg() {
msg warn "安装依赖包 >${pkg}"
$cmd install -y $pkg &>/dev/null
if [[ $? != 0 ]]; then
[[ $cmd == yum ]] && yum install epel-release -y &>/dev/null
[[ $cmd =~ yum ]] && yum install epel-release -y &>/dev/null
$cmd update -y &>/dev/null
$cmd install -y $pkg &>/dev/null
[[ $? == 0 ]] && >$is_pkg_ok
Expand Down
2 changes: 1 addition & 1 deletion v2ray.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

args=$@
is_sh_ver=v4.08
is_sh_ver=v4.09

. /etc/v2ray/sh/src/init.sh

0 comments on commit 44e3409

Please sign in to comment.