public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alex Legler" <a3li@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
Date: Sun,  6 Mar 2011 15:28:55 +0000 (UTC)	[thread overview]
Message-ID: <36f381afdf2a201d084e20c58d8bc905f8a8af08.a3li@gentoo> (raw)

commit:     36f381afdf2a201d084e20c58d8bc905f8a8af08
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Mar  6 15:27:39 2011 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 15:27:39 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=36f381af

eselect-ruby: Don't try to set man symlinks if FEATURES=noman is enabled

Reported-By: Eduardo Tongson <propolice <AT> gmail.com>

---
 eselect-ruby/ruby.eselect |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 46e0828..5f48eb4 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,10 +1,10 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-DESCRIPTION="Manage ruby symlinks"
+DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20100603"
-VERSION="20100603"
+SVN_DATE="20110306"
+VERSION="20110306"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
@@ -45,7 +45,7 @@ remove_symlinks() {
 }
 
 create_man_symlinks() {
-	local version=${1} 
+	local version=${1}
 
 	for m in ${ROOT}${man1dir}/ruby${version}.{1,1.gz,1.bz2,1.lzma}
 	do
@@ -80,8 +80,8 @@ create_symlinks() {
 		echo "If you need RubyGems, emerge dev-ruby/rubygems with the appropriate RUBY_TARGETS setting."
 		echo
 	fi
-	
-	create_man_symlinks ${version}
+
+	[[ $(portageq envvar FEATURES) =~ noman ]] || create_man_symlinks ${version}
 
 	write_list_start "Successfully switched to profile:"
 	write_kv_list_entry "${target}" ""



             reply	other threads:[~2011-03-06 15:29 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 15:28 Alex Legler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-05 21:47 [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/ Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2013-12-27  7:35 Alex Legler
2014-12-27 19:07 Manuel Rüger
2015-12-29 10:39 Hans de Graaff
2015-12-29 10:56 Hans de Graaff
2016-12-26 16:38 Hans de Graaff
2017-07-23  7:46 Hans de Graaff
2017-07-23  7:46 Hans de Graaff
2017-07-23  7:46 Hans de Graaff
2017-12-25  7:33 Hans de Graaff
2017-12-25  7:33 Hans de Graaff
2018-12-25  6:28 Hans de Graaff
2019-01-21 18:36 Hans de Graaff
2019-12-22  9:05 Hans de Graaff
2020-12-25  8:01 Hans de Graaff
2022-03-13  7:11 Hans de Graaff
2023-04-09  7:37 Hans de Graaff
2023-08-13  6:41 Hans de Graaff
2023-08-13  6:41 Hans de Graaff
2023-10-08  8:39 Hans de Graaff
2023-12-26  8:24 Hans de Graaff
2024-12-25  5:41 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36f381afdf2a201d084e20c58d8bc905f8a8af08.a3li@gentoo \
    --to=a3li@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox