Update install.sh

This commit is contained in:
MHSanaei 2023-02-21 11:50:09 +03:30 committed by GitHub
parent db91554b34
commit f01cb8f1d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ if [[ x"${release}" == x"centos" ]]; then
echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
fi
elif [[ x"${release}" == x"ubuntu" ]]; then
if [[ ${os_version} -lt 18 ]]; then
if [[ ${os_version} -lt 20 ]]; then
echo -e "${red} Please use Ubuntu 20 or higher ${plain}\n" && exit 1
fi
elif [[ x"${release}" == x"debian" ]]; then