Update x-ui.sh

This commit is contained in:
quydang 2023-12-16 09:30:58 +07:00 committed by GitHub
parent be641cec18
commit 0c769f78df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,11 @@ elif [[ "${release}" == "debian" ]]; then
echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1
fi
elif [[ "${release}" == "arch" ]]; then
echo "OS is ArchLinux"
echo "Your OS is ArchLinux"
elif [[ "${release}" == "manjaro" ]]; then
echo "Your OS is Manjaro"
elif [[ "${release}" == "armbian" ]]; then
echo "Your OS is Armbian"
fi
@ -579,7 +583,7 @@ ssl_cert_issue() {
fi
# install socat second
case "${release}" in
ubuntu|debian)
ubuntu|debian|armbian)
apt update && apt install socat -y ;;
centos)
yum -y update && yum -y install socat ;;