From dfd3a9d85ccf0a4e65c89adaed805fc599ee177f Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 9 Jun 2018 12:25:00 +0900 Subject: [PATCH] Update comments Signed-off-by: Teddysun --- shadowsocks-all.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shadowsocks-all.sh b/shadowsocks-all.sh index a4b41be..d0c1763 100644 --- a/shadowsocks-all.sh +++ b/shadowsocks-all.sh @@ -552,9 +552,7 @@ install_dependencies(){ fi [ ! -f /etc/yum.repos.d/epel.repo ] && echo -e "[${red}Error${plain}] Install EPEL repository failed, please check it." && exit 1 [ ! "$(command -v yum-config-manager)" ] && yum install -y yum-utils > /dev/null 2>&1 - if [ x"`yum-config-manager epel | grep -w enabled | awk '{print $3}'`" != x"True" ]; then - yum-config-manager --enable epel > /dev/null 2>&1 - fi + [ x"$(yum-config-manager epel | grep -w enabled | awk '{print $3}')" != x"True" ] && yum-config-manager --enable epel > /dev/null 2>&1 echo -e "[${green}Info${plain}] Checking the EPEL repository complete..." yum_depends=(