mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Import functions from ruby-build v20160426-33-g3304f96
I should add EOL warnings to old versions later....
This commit is contained in:
parent
10957b786a
commit
69d5656311
1 changed files with 20 additions and 0 deletions
|
@ -680,6 +680,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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue