diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-06-08 09:11:13 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2023-08-13 08:40:00 +0200 |
commit | 58fd812b32a2958a2675da6a86b80ad944d83517 (patch) | |
tree | 078dd73f5bf397cf50c8d418f332b064aa5b37a0 | |
parent | eselect-rails: add support for Rails 7.0 (diff) | |
download | ruby-scripts-58fd812b32a2958a2675da6a86b80ad944d83517.tar.gz ruby-scripts-58fd812b32a2958a2675da6a86b80ad944d83517.tar.bz2 ruby-scripts-58fd812b32a2958a2675da6a86b80ad944d83517.zip |
ruby.eselect: Call create_man_links unconditionally
This avoids calling portageq. create_man_links() will do nothing when
the target man page doesn't exist, regardless of FEATURES="noman".
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | eselect-ruby/ruby.eselect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect index 35fc952..1071d77 100644 --- a/eselect-ruby/ruby.eselect +++ b/eselect-ruby/ruby.eselect @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # vim: set ft=sh: @@ -94,7 +94,7 @@ create_symlinks() { echo fi - [[ $(portageq envvar FEATURES) =~ noman ]] || create_man_links ${version} + create_man_links ${version} write_list_start "Successfully switched to profile:" write_kv_list_entry "${target}" "" |