summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2016-01-13 21:18:41 +0100
committerLuis Ressel <aranea@aixah.de>2016-01-13 23:12:47 +0100
commit28f8771b0895f2fd3117f60b9c69e562c983ef44 (patch)
tree546549d7f64cd66e10b953852f8eb1d62dd90154 /games-roguelike/nethack/nethack-3.6.0-r1.ebuild
parentgames-roguelike/nethack: Add "experimental" USE flag (diff)
downloadgentoo-28f8771b0895f2fd3117f60b9c69e562c983ef44.tar.gz
gentoo-28f8771b0895f2fd3117f60b9c69e562c983ef44.tar.bz2
gentoo-28f8771b0895f2fd3117f60b9c69e562c983ef44.zip
games-roguelike/nethack: Improved nethackrc for 3.6
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"