This commit is contained in:
M Ghayour 2024-11-29 03:20:09 +00:00 committed by GitHub
commit 32b64381b7
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 == "alinux" ]]; then
OS="centos"
if [[ $VERSION_ID -lt 3 ]]; then
echo "⚠️ Your version of Aliyun is not supported."
echo ""
echo "The script only support Aliyun 3 and above."
echo ""
exit 1
fi
fi
if [[ $ID == "ol" ]]; then
OS="oracle"
if [[ ! $VERSION_ID =~ (8) ]]; then