This commit is contained in:
EASTCATV 2025-01-06 17:25:32 +01:00 committed by GitHub
commit 52aa4999ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,16 @@ function checkOS() {
exit 1
fi
fi
if [[ $ID == "tencentos" ]]; then
OS="centos"
if [[ ${VERSION_ID%.*} -lt 3 ]]; then
echo "⚠️ Your version of CentOS is not supported."
echo ""
echo "The script only support CentOS 7 and CentOS 8."
echo ""
exit 1
fi
fi
if [[ $ID == "ol" ]]; then
OS="oracle"
if [[ ! $VERSION_ID =~ (8) ]]; then