From 359a3c3c7e2725013146adcd147821b004f2e61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Thu, 8 Jun 2023 09:11:13 +0200 Subject: [PATCH] ruby.eselect: Call create_man_links unconditionally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- eselect-ruby/ruby.eselect | 4 ++-- 1 file 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}" "" -- 2.41.0