pentoo-updater: support ruby31

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-06-20 12:30:50 -04:00
parent 6f2fc3244d
commit 7b82c4e1dd
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -108,6 +108,10 @@ set_java() {
}
set_ruby() {
if portageq has_version / dev-lang/ruby:3.1; then
eselect ruby set ruby31
return 0
fi
if portageq has_version / dev-lang/ruby:3.0; then
eselect ruby set ruby30
return 0