浏览代码

Update v2ray_ss_conf.sh

蘭雅sRGB 6 年之前
父节点
当前提交
05608c5dda
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      v2ray_ss_conf.sh

+ 2 - 2
v2ray_ss_conf.sh

@@ -218,8 +218,8 @@ clear
 if [ ! -e 'base64_v2ray_vmess.json' ]; then
 
     # 简化判断系统 debian/centos 族群
-    if [ ! -e '/etc/redhat-release' ]; then
-        yum update && yum install -y  qrencode wget vim
+    if [ -e '/etc/redhat-release' ]; then
+        yum update -y && yum install -y  qrencode wget vim
     else
 	apt update && apt install -y  qrencode
     fi