mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-07 10:46:19 +00:00
Update x-ui.sh
This commit is contained in:
parent
be641cec18
commit
0c769f78df
1 changed files with 6 additions and 2 deletions
8
x-ui.sh
8
x-ui.sh
|
@ -55,7 +55,11 @@ elif [[ "${release}" == "debian" ]]; then
|
||||||
echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1
|
echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1
|
||||||
fi
|
fi
|
||||||
elif [[ "${release}" == "arch" ]]; then
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -579,7 +583,7 @@ ssl_cert_issue() {
|
||||||
fi
|
fi
|
||||||
# install socat second
|
# install socat second
|
||||||
case "${release}" in
|
case "${release}" in
|
||||||
ubuntu|debian)
|
ubuntu|debian|armbian)
|
||||||
apt update && apt install socat -y ;;
|
apt update && apt install socat -y ;;
|
||||||
centos)
|
centos)
|
||||||
yum -y update && yum -y install socat ;;
|
yum -y update && yum -y install socat ;;
|
||||||
|
|
Loading…
Reference in a new issue