Red Hat versions lower than 5 are no longer supported.

This commit is contained in:
Pedro Algarvio 2013-09-26 16:49:42 +01:00
parent 457eed894c
commit 8bb6fd79dc

View file

@ -1048,6 +1048,16 @@ __check_end_of_life_versions() {
fi
;;
red_hat*linux)
# Red Hat (Enterprise) Linux versions lower than 5 are no longer supported
if [ $DISTRO_MAJOR_VERSION -lt 5 ]; then
echoerror "End of life distributions are not supported."
echoerror "Please consider upgrading to the next stable. See:"
echoerror " https://access.redhat.com/support/policy/updates/errata/"
exit 1
fi
;;
*)
;;
esac