Update install.sh

This commit is contained in:
MHSanaei 2023-02-21 11:50:09 +03:30 committed by GitHub
parent e36c13228e
commit f640bc1f19

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 echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
fi fi
elif [[ x"${release}" == x"ubuntu" ]]; then 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 echo -e "${red} Please use Ubuntu 20 or higher ${plain}\n" && exit 1
fi fi
elif [[ x"${release}" == x"debian" ]]; then elif [[ x"${release}" == x"debian" ]]; then