mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 00:51:41 +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 "
|
||||
|
||||
# All other active ruby targets
|
||||
RUBY_TARGETS_PREFERENCE+="ruby33"
|
||||
RUBY_TARGETS_PREFERENCE+="ruby33 ruby34"
|
||||
|
||||
_ruby_implementation_depend() {
|
||||
local rubypn=
|
||||
local rubyslot=
|
||||
|
||||
case $1 in
|
||||
ruby1[89]|ruby2[0-7]|ruby3[0-3])
|
||||
ruby1[89]|ruby2[0-7]|ruby3[0-4])
|
||||
rubypn="dev-lang/ruby"
|
||||
rubyslot=":${1:4:1}.${1:5}"
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user