From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1545312-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DE82415800A
	for <garchives@archives.gentoo.org>; Sun, 13 Aug 2023 06:41:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2F0932BC018;
	Sun, 13 Aug 2023 06:41:08 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 17EE82BC018
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 06:41:08 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4866A335D43
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 06:41:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E8A1B86
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 06:41:05 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org>
Message-ID: <1691908800.58fd812b32a2958a2675da6a86b80ad944d83517.graaff@gentoo>
Subject: [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
X-VCS-Repository: proj/ruby-scripts
X-VCS-Files: eselect-ruby/ruby.eselect
X-VCS-Directories: eselect-ruby/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 58fd812b32a2958a2675da6a86b80ad944d83517
X-VCS-Branch: master
Date: Sun, 13 Aug 2023 06:41:05 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1754a026-254b-43ec-b938-82de56341255
X-Archives-Hash: 6b9f5774615e61a8012ed111b20f989d

commit:     58fd812b32a2958a2675da6a86b80ad944d83517
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 07:11:13 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 06:40:00 2023 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=58fd812b

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 <AT> gentoo.org>
Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 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}" ""