mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 17:11:34 +02:00
eclass/ruby-utils: Sync with Gentoo
It's from Gentoo commit 66ce0ab3bae70f64c89489ad2ccb05a560eff96f.
This commit is contained in:
parent
4a8830360f
commit
4d814b9c5d
@ -36,14 +36,14 @@ esac
|
|||||||
RUBY_TARGETS_PREFERENCE="ruby32 ruby31 "
|
RUBY_TARGETS_PREFERENCE="ruby32 ruby31 "
|
||||||
|
|
||||||
# All other active ruby targets
|
# All other active ruby targets
|
||||||
RUBY_TARGETS_PREFERENCE+="ruby33"
|
RUBY_TARGETS_PREFERENCE+="ruby33 ruby34"
|
||||||
|
|
||||||
_ruby_implementation_depend() {
|
_ruby_implementation_depend() {
|
||||||
local rubypn=
|
local rubypn=
|
||||||
local rubyslot=
|
local rubyslot=
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
ruby1[89]|ruby2[0-7]|ruby3[0-3])
|
ruby1[89]|ruby2[0-7]|ruby3[0-4])
|
||||||
rubypn="dev-lang/ruby"
|
rubypn="dev-lang/ruby"
|
||||||
rubyslot=":${1:4:1}.${1:5}"
|
rubyslot=":${1:4:1}.${1:5}"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user