Update DigitalOcean image check script (#176)

This commit is contained in:
Vince Grassia
2023-11-06 23:00:15 -05:00
committed by GitHub
parent 6a76dc293f
commit a594a0c403

View File

@@ -521,7 +521,10 @@ elif [[ "$OS" =~ Debian.* ]]; then
;;
11)
osv=1
;;
;;
12)
osv=1
;;
*)
osv=2
;;
@@ -549,7 +552,7 @@ elif [[ $OS == "CentOS Stream" ]]; then
fi
elif [[ $OS == "Rocky Linux" ]]; then
ost=1
if [[ $VER =~ 8\. ]]; then
if [[ $VER =~ 8\. ]] || [[ $VER =~ 9\. ]]; then
osv=1
else
osv=2