diff options
-rw-r--r-- | games-roguelike/nethack/nethack-3.4.3-r5.ebuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/games-roguelike/nethack/nethack-3.4.3-r5.ebuild b/games-roguelike/nethack/nethack-3.4.3-r5.ebuild index 48ba257c0aae..fde14db4bd69 100644 --- a/games-roguelike/nethack/nethack-3.4.3-r5.ebuild +++ b/games-roguelike/nethack/nethack-3.4.3-r5.ebuild @@ -143,10 +143,8 @@ src_install() { doman doc/*.6 dodoc doc/*.txt - # Can be copied to ~/.nethackrc to set options - # Add this to /etc/.skel as well, thats the place for default configs - insinto "${HACKDIR}" - doins "${FILESDIR}/dot.nethackrc" + insinto /etc/skel + newins "${FILESDIR}/dot.nethackrc" .nethackrc local windowtypes="tty" use X && windowtypes="${windowtypes} x11" @@ -154,10 +152,8 @@ src_install() { sed -i \ -e "s:GENTOO_WINDOWTYPES:${windowtypes}:" \ -e "s:GENTOO_DEFWINDOWTYPE:$1:" \ - "${D}${HACKDIR}/dot.nethackrc" \ - || die "sed ${HACKDIR}/dot.nethackrc failed" - insinto /etc/skel - newins "${D}/${HACKDIR}/dot.nethackrc" .nethackrc + "${D}/etc/skel/.nethackrc" \ + || die "sed /etc/skel/.nethackrc failed" if use X ; then # install nethack fonts |