Update vmess-sk5.sh

This commit is contained in:
NewName
2024-08-12 03:44:42 +08:00
parent 4b97c91928
commit 97e979b3cc

View File

@@ -64,7 +64,7 @@ default_config='
# 检查并安装curl # 检查并安装curl
check_and_install_curl() { check_and_install_curl() {
if ! type curl &>/dev/null; then if ! type curl &>/dev/null; then
echo -e "${yellow}正在安装需要的环境...${none}" echo -e "${yellow}正在安装curl...${none}"
apt-get update && apt-get install -y curl apt-get update && apt-get install -y curl
fi fi
} }
@@ -72,7 +72,7 @@ check_and_install_curl() {
# 检查并安装jq # 检查并安装jq
check_and_install_jq() { check_and_install_jq() {
if ! type jq &>/dev/null; then if ! type jq &>/dev/null; then
echo -e "${yellow}正在安装需要的环境...${none}" echo -e "${yellow}正在安装jq...${none}"
apt-get update && apt-get install -y jq apt-get update && apt-get install -y jq
fi fi
} }