summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/nethack/nethack-3.6.0-r1.ebuild')
-rw-r--r--games-roguelike/nethack/nethack-3.6.0-r1.ebuild11
1 files changed, 1 insertions, 10 deletions
diff --git a/games-roguelike/nethack/nethack-3.6.0-r1.ebuild b/games-roguelike/nethack/nethack-3.6.0-r1.ebuild
index 3696d05c3e9..01e66e84fa8 100644
--- a/games-roguelike/nethack/nethack-3.6.0-r1.ebuild
+++ b/games-roguelike/nethack/nethack-3.6.0-r1.ebuild
@@ -87,16 +87,7 @@ src_install() {
newins sys/unix/sysconf nethack.sysconf
insinto /etc/skel
- newins "${FILESDIR}/dot.nethackrc" .nethackrc
-
- local windowtypes="tty"
- use X && windowtypes="x11 ${windowtypes}"
- set -- ${windowtypes}
- sed -i \
- -e "s:GENTOO_WINDOWTYPES:${windowtypes}:" \
- -e "s:GENTOO_DEFWINDOWTYPE:$1:" \
- "${D}/etc/skel/.nethackrc" \
- || die "sed /etc/skel/.nethackrc failed"
+ newins "${FILESDIR}/${P}-nethackrc" .nethackrc
if use X ; then
cd "${S}/win/X11" || die "Failed to enter win/X11 directory"