diff --git a/tmp/vmess.sh b/tmp/vmess.sh index f46a6c9..39816e6 100644 --- a/tmp/vmess.sh +++ b/tmp/vmess.sh @@ -14,17 +14,17 @@ config_file="/usr/local/etc/xray/config.json" install_dependencies() { if ! type jq &>/dev/null; then echo -e "${green}正在安装 jq...${none}" - apt-get update && apt-get install -y jq + apt-get update && apt-get install -yq jq fi if ! type uuidgen &>/dev/null; then echo -e "${green}正在安装 uuid-runtime...${none}" - apt-get install -y uuid-runtime + apt-get install -yq uuid-runtime fi if ! type sshpass &>/dev/null; then echo -e "${green}正在安装 sshpass...${none}" - apt-get install -y sshpass + apt-get install -yq sshpass fi if ! type xray &>/dev/null; then