Update ss.sh

This commit is contained in:
NewName
2024-08-19 04:33:30 +08:00
parent 0188dfb1f2
commit 8e6a745818

View File

@@ -14,11 +14,11 @@ 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 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
echo -e "${green}正在安装 xray...${none}"