fix(脚本): 修改无法安装dig的问题

pull/534/merge
mack-a 2022-10-25 11:30:52 +08:00
parent 3222b1a551
commit 9815adacf8
1 changed files with 4 additions and 4 deletions

View File

@ -661,9 +661,9 @@ installTools() {
if ! find /usr/bin /usr/sbin | grep -q -w dig; then
echoContent green " ---> 安装dig"
if [[ "${installType}" == "apt" ]]; then
if echo "${installType}" | grep -q -w "apt"; then
${installType} dnsutils >/dev/null 2>&1
elif [[ "${installType}" == "yum" ]]; then
elif echo "${installType}" | grep -q -w "yum"; then
${installType} bind-utils >/dev/null 2>&1
fi
fi
@ -5000,7 +5000,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者:mack-a"
echoContent green "当前版本:v2.6.1"
echoContent green "当前版本:v2.6.2"
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus