Browse Source

Update DigitalOcean image check script (#176)

pull/153/head
Vince Grassia 2 years ago committed by GitHub
parent
commit
a594a0c403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      DigitalOceanMarketplace/scripts/99-img-check.sh

5
DigitalOceanMarketplace/scripts/99-img-check.sh

@ -522,6 +522,9 @@ elif [[ "$OS" =~ Debian.* ]]; then @@ -522,6 +522,9 @@ elif [[ "$OS" =~ Debian.* ]]; then
11)
osv=1
;;
12)
osv=1
;;
*)
osv=2
;;
@ -549,7 +552,7 @@ elif [[ $OS == "CentOS Stream" ]]; then @@ -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

Loading…
Cancel
Save