games-mud/tf: fix installation path
authorAustin English <wizardedit@gentoo.org>
Mon, 8 Aug 2016 17:45:34 +0000 (12:45 -0500)
committerAustin English <wizardedit@gentoo.org>
Mon, 8 Aug 2016 17:45:34 +0000 (12:45 -0500)
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

index 7b3d1c9ceee60c46817d1b41fe821a60cdefa7d5..3cc5dc998b77a18be22017fe0bf70ff5362d7daa 100644 (file)
@@ -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
 }