FreeBSD versions lower than 11 are EOL and unsupported

This commit is contained in:
Pedro Algarvio 2020-01-29 16:20:08 +00:00
parent 77e7735945
commit 7c0e4fca7b
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
2 changed files with 4 additions and 5 deletions

View file

@ -329,7 +329,7 @@ UNIX systems
**BSD**:
- OpenBSD (``pip`` installation)
- FreeBSD 9/10/11/12
- FreeBSD 11/12
**SunOS**:

View file

@ -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
;;