Warn when installing an unsupported or end-of-lifed Ruby

Fixes #742
This commit is contained in:
Jeremy Daer 2016-04-29 21:59:56 -07:00
parent 82e275db37
commit 2617f400de
No known key found for this signature in database
GPG key ID: AB8F6399D5C60664
87 changed files with 106 additions and 86 deletions

View file

@ -508,6 +508,26 @@ package_option() {
eval "$variable=( \"\${value[@]}\" )"
}
build_package_warn_eol() {
local package_name="$1"
{ echo
echo "WARNING: $package_name is past its end of life and is now unsupported."
echo "It no longer receives bug fixes or critical security updates."
echo
} >&3
}
build_package_warn_unsupported() {
local package_name="$1"
{ echo
echo "WARNING: $package_name is nearing its end of life."
echo "It only receives critical security updates, no bug fixes."
echo
} >&3
}
build_package_standard() {
local package_name="$1"