commit:     851a3392bfa7c0d49dfab0263cbd38380de05f23
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  8 17:45:34 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 17:45:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851a3392

games-mud/tf: fix installation path

An unremoved $GAMES_DATADIR entry caused some files to be installed to / by 
mistake

Gentoo-Bug: https://bugs.gentoo.org/590662

Package-Manager: portage-2.3.0

 games-mud/tf/tf-50_beta8-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-mud/tf/tf-50_beta8-r2.ebuild 
b/games-mud/tf/tf-50_beta8-r2.ebuild
index 7b3d1c9..3cc5dc9 100644
--- a/games-mud/tf/tf-50_beta8-r2.ebuild
+++ b/games-mud/tf/tf-50_beta8-r2.ebuild
@@ -48,16 +48,16 @@ src_install() {
        newman src/tf.1.nroffman tf.1
        dodoc CHANGES CREDITS README
 
-       insinto "${GAMES_DATADIR}"/${PN}-lib
+       insinto /usr/share/${PN}-lib
        # the application looks for this file here if /changes is called.
        # see comments on bug #23274
        doins CHANGES
        insopts -m0755
        doins tf-lib/*
        if use doc ; then
-               cd ../${MY_P}-help
+               cd ../${MY_P}-help || die
                dodoc -r *.html commands topics
-               cd ../${MY_P}
+               cd ../${MY_P} || die
        fi
 }
 

Reply via email to