We no longer support Ubuntu versions bellow 12.04

This commit is contained in:
Pedro Algarvio 2015-07-29 23:26:23 +01:00
parent 69c0a0cc54
commit 0d0148d318

View file

@ -1327,14 +1327,8 @@ __check_end_of_life_versions() {
ubuntu)
# Ubuntu versions not supported
#
# < 10
# = 10.10
# = 11.04
# = 11.10
if ([ "$DISTRO_MAJOR_VERSION" -eq 10 ] && [ "$DISTRO_MINOR_VERSION" -eq 10 ]) || \
([ "$DISTRO_MAJOR_VERSION" -eq 11 ] && [ "$DISTRO_MINOR_VERSION" -eq 04 ]) || \
([ "$DISTRO_MAJOR_VERSION" -eq 11 ] && [ "$DISTRO_MINOR_VERSION" -eq 10 ]) || \
[ "$DISTRO_MAJOR_VERSION" -lt 10 ]; then
# < 12.04
if [ "$DISTRO_MAJOR_VERSION" -lt 12 ]; then
echoerror "End of life distributions are not supported."
echoerror "Please consider upgrading to the next stable. See:"
echoerror " https://wiki.ubuntu.com/Releases"