mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
FreeBSD versions lower than 11 are EOL and unsupported
This commit is contained in:
parent
77e7735945
commit
7c0e4fca7b
2 changed files with 4 additions and 5 deletions
|
@ -329,7 +329,7 @@ UNIX systems
|
|||
**BSD**:
|
||||
|
||||
- OpenBSD (``pip`` installation)
|
||||
- FreeBSD 9/10/11/12
|
||||
- FreeBSD 11/12
|
||||
|
||||
**SunOS**:
|
||||
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue