Merge pull request #7280 from dokku/merge-upstream-image-check

Merge changes from digitialocean's image-check script
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2024-10-19 04:02:20 -04:00
commit 83960e51a2
1 file changed
+4 -1
@@ -513,6 +513,9 @@ elif [[ "$OS" =~ Debian.* ]]; then
11) 11)
osv=1 osv=1
;; ;;
12)
osv=1
;;
*) *)
osv=2 osv=2
;; ;;
@@ -538,7 +541,7 @@ elif [[ $OS == "CentOS Stream" ]]; then
fi fi
elif [[ $OS == "Rocky Linux" ]]; then elif [[ $OS == "Rocky Linux" ]]; then
ost=1 ost=1
if [[ $VER =~ 8\. ]]; then if [[ $VER =~ 8\. ]] || [[ $VER =~ 9\. ]]; then
osv=1 osv=1
else else
osv=2 osv=2