From 7c0e4fca7bd1ccc7d493179cde9f3d408388d5aa Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Wed, 29 Jan 2020 16:20:08 +0000 Subject: [PATCH] FreeBSD versions lower than 11 are EOL and unsupported --- README.rst | 2 +- bootstrap-salt.sh | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index fd54abe..eb3f315 100644 --- a/README.rst +++ b/README.rst @@ -329,7 +329,7 @@ UNIX systems **BSD**: - OpenBSD (``pip`` installation) -- FreeBSD 9/10/11/12 +- FreeBSD 11/12 **SunOS**: diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 716f24b..43d3ea1 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1688,10 +1688,9 @@ __check_end_of_life_versions() { ;; freebsd) - # FreeBSD versions lower than 9.1 are not supported. - if { [ "$DISTRO_MAJOR_VERSION" -eq 9 ] && [ "$DISTRO_MINOR_VERSION" -lt 01 ]; } || \ - [ "$DISTRO_MAJOR_VERSION" -lt 9 ]; then - echoerror "Versions lower than FreeBSD 9.1 are not supported." + # FreeBSD versions lower than 11 are EOL + if [ "$DISTRO_MAJOR_VERSION" -lt 11 ]; then + echoerror "Versions lower than FreeBSD 11 are EOL and no longer supported." exit 1 fi ;;