diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-10-08 10:15:27 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-10-08 10:38:57 +0200 |
commit | c717ca0b202a2480ac307b5ad09073e90d0145d7 (patch) | |
tree | a7879dbb4fd411e9e54130363282f7495775ac8d | |
parent | Add Rails 7.1 (diff) | |
download | ruby-scripts-c717ca0b202a2480ac307b5ad09073e90d0145d7.tar.gz ruby-scripts-c717ca0b202a2480ac307b5ad09073e90d0145d7.tar.bz2 ruby-scripts-c717ca0b202a2480ac307b5ad09073e90d0145d7.zip |
eselect-ruby: stop managing irb
The irb code is spun off into a gem now (in dev-ruby/irb) and upstream
recommends to use this version with all ruby versions, rather than the
vendored version.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | eselect-ruby/ruby.eselect | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect index ef0fc1b..6b97f82 100644 --- a/eselect-ruby/ruby.eselect +++ b/eselect-ruby/ruby.eselect @@ -4,7 +4,7 @@ DESCRIPTION="Manage Ruby symlinks" MAINTAINER="ruby@gentoo.org" -VERSION="20230616" +VERSION="20231008" bindir=/usr/bin libdir=/usr/lib @@ -41,8 +41,8 @@ check_target() { } remove_symlinks() { - rm -f ${EROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc} && \ - rm -f ${EROOT}${man1dir}/{ruby,irb,erb,ri}.1* + rm -f ${EROOT}${bindir}/{ruby,gem,erb,ri,rdoc} && \ + rm -f ${EROOT}${man1dir}/{ruby,erb,ri}.1* # Remove legacy testrb link if it still exists. local testrb="${EROOT}${bindir}/testrb" @@ -61,7 +61,7 @@ remove_symlinks() { create_man_links() { local version=${1} - for manpage in "ruby" "irb" "erb" "ri" ; do + for manpage in "ruby" "erb" "ri" ; do for m in ${EROOT}${man1dir}/${manpage}${version}.1* ; do if [[ -e ${m} ]]; then echo ".so ${manpage}${version}.1" > ${EROOT}${man1dir}/${manpage}.1 || \ @@ -78,7 +78,7 @@ create_symlinks() { local path="${EROOT}${bindir}/" # these have to work - for f in "ruby" "irb" "erb" "ri" "rdoc" ; do + for f in "ruby" "erb" "ri" "rdoc" ; do ln -s "${f}${version}" "${path}${f}" || \ die -q "Could not set ${f} symlink" done |