commit:     37de4d46f28853db567ae37632bf99f7c670d1c7
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 19:10:40 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun May 12 19:11:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37de4d46

app-shells/tcsh-6.24.12: fix USE=man #931820

Closes: https://bugs.gentoo.org/931820
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 app-shells/tcsh/tcsh-6.24.12.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-shells/tcsh/tcsh-6.24.12.ebuild 
b/app-shells/tcsh/tcsh-6.24.12.ebuild
index 32e21c05882c..dc82102416f2 100644
--- a/app-shells/tcsh/tcsh-6.24.12.ebuild
+++ b/app-shells/tcsh/tcsh-6.24.12.ebuild
@@ -94,9 +94,8 @@ src_install() {
        DOCS=( FAQ Fixes Ported README.md WishList Y2K )
        einstalldocs
 
-       if use man ; then
-               mv tcsh.man{,1}
-               doman tcsh.man1
+       if ! use man ; then
+               rm -Rf "${ED}"/usr/share/man
        fi
 
        insinto /etc

Reply via email to