diff --git a/old/mariadb_repo_setup b/new/mariadb_repo_setup
old mode 100644
new mode 100755
index acba4d2..d443f37
--- a/old/mariadb_repo_setup
+++ b/new/mariadb_repo_setup
@@ -72,6 +72,8 @@ skip_maxscale=0
 skip_server=0
 skip_tools=0
 skip_check_installed=0
+skip_eol_check=0
+skip_os_eol_check=0
 extra_options=""
 
 usage="Usage: curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash -s -- [OPTIONS]
@@ -112,6 +114,10 @@ Options:
 
     --skip-check-installed  Skip tests for required prerequisites for this script.
 
+    --skip-eol-check        Skip tests for versions being past their EOL date
+
+    --skip-os-eol-check     Skip tests for operating system versions being past EOL date
+
     --write-to-stdout       Write output to stdout instead of to the OS's
                             repository configuration. This will also skip
                             importing GPG keys and updating the package 
@@ -144,7 +150,11 @@ error(){
 }
 
 verify_mariadb_server_version() {
-  rx='^(mariadb-){0,1}(10+\.[2-8]|10+\.[2-8]+\.[1-9]{0,1}[0-9]{1})$'
+  if (($skip_eol_check)); then
+    rx='^(mariadb-){0,1}(10+\.[0-8]|10+\.[0-8]+\.[1-9]{0,1}[0-9]{1})$'
+  else
+    rx='^(mariadb-){0,1}(10+\.[2-8]|10+\.[2-8]+\.[1-9]{0,1}[0-9]{1})$'
+  fi
   if [[ $@ =~ $rx ]] ; then
     case $os_type in
       ubuntu|debian)
@@ -246,6 +256,12 @@ while :; do
         --skip-check-installed)
           skip_check_installed=1
           ;;
+        --skip-eol-check)
+	  skip_eol_check=1
+	  ;;
+        --skip-os-eol-check)
+	  skip_os_eol_check=1
+	  ;;
 
         --os-type)
             if [[ -n $2 ]] && [[ $2 != --* ]]; then
@@ -367,8 +383,8 @@ identify_os(){
         os_type=rhel
         el_version=$(rpm -qa '(oraclelinux|sl|redhat|centos|fedora|rocky|alma)*release(|-server)' --queryformat '%{VERSION}')
         case $el_version in
-            5*) os_version=5 ; error "RHEL/CentOS 5 is no longer supported" "$supported" ;;
-            6*) os_version=6 ; error "RHEL/CentOS 6 is no longer supported" "$supported" ;;
+            5*) os_version=5 ; ((skip_os_eol_check)) || error "RHEL/CentOS 5 is no longer supported" "$supported" ;;
+            6*) os_version=6 ; ((skip_os_eol_check)) || error "RHEL/CentOS 6 is no longer supported" "$supported" ;;
             7*) os_version=7 ;;
             8*) os_version=8 ; extra_options="module_hotfixes = 1" ;;
              *) error "Detected RHEL or compatible but version ($el_version) is not supported." "$supported"  "$otherplatforms" ;;
@@ -393,9 +409,9 @@ identify_os(){
                 . /etc/lsb-release
                 os_version=$DISTRIB_CODENAME
                 case $os_version in
-                    precise ) error 'Ubuntu version 12.04 LTS has reached End of Life and is no longer supported.' ;;
-                    trusty ) error 'Ubuntu version 14.04 LTS has reached End of Life and is no longer supported.' ;;
-                    xenial ) error 'Ubuntu version 16.04 LTS has reached End of Life and is no longer supported.' ;;
+                    precise ) ((skip_os_eol_check)) || error 'Ubuntu version 12.04 LTS has reached End of Life and is no longer supported.' ;;
+                    trusty ) ((skip_os_eol_check)) || error 'Ubuntu version 14.04 LTS has reached End of Life and is no longer supported.' ;;
+                    xenial ) ((skip_os_eol_check)) || error 'Ubuntu version 16.04 LTS has reached End of Life and is no longer supported.' ;;
                     bionic ) extra_options=" lang=none target-=CNF" ;;
                     focal ) ;;
                     *) error "Detected Ubuntu but version ($os_version) is not supported." "Only Ubuntu LTS releases are supported."  "$otherplatforms" ;;
