Declare EOL for openSUSE LEAP 42.1

This commit is contained in:
Denys Havrysh 2017-08-29 12:58:25 +03:00
parent adc8efa2c6
commit fd7b9ebe09
2 changed files with 6 additions and 4 deletions

View file

@ -262,7 +262,7 @@ Red Hat family
SUSE family
~~~~~~~~~~~
- openSUSE Leap 42
- openSUSE Leap 42.2/42.3
- openSUSE Tumbleweed 2015
- SUSE Linux Enterprise Server 11 SP1/11 SP2/11 SP3/12

View file

@ -1503,7 +1503,9 @@ __check_end_of_life_versions() {
# openSUSE versions not supported
#
# <= 13.X
if [ "$DISTRO_MAJOR_VERSION" -le 13 ]; then
# <= 42.1
if [ "$DISTRO_MAJOR_VERSION" -le 13 ] || \
([ "$DISTRO_MAJOR_VERSION" -eq 42 ] && [ "$DISTRO_MINOR_VERSION" -le 1 ]); then
echoerror "End of life distributions are not supported."
echoerror "Please consider upgrading to the next stable. See:"
echoerror " http://en.opensuse.org/Lifetime"