summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-05 01:13:00 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-05 01:13:00 +0000
commit24b8494bcbba311382cbd82403c1063caf43cb65 (patch)
tree56f556071e843d657644d849da2f52c1fb9f0712 /games-board/xscrabble
parentclean version 5.2 (Manifest recommit) (diff)
downloadgentoo-2-24b8494bcbba311382cbd82403c1063caf43cb65.tar.gz
gentoo-2-24b8494bcbba311382cbd82403c1063caf43cb65.tar.bz2
gentoo-2-24b8494bcbba311382cbd82403c1063caf43cb65.zip
Only sed actual files (bug #49892)
Diffstat (limited to 'games-board/xscrabble')
-rw-r--r--games-board/xscrabble/ChangeLog5
-rw-r--r--games-board/xscrabble/xscrabble-2.10.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/games-board/xscrabble/ChangeLog b/games-board/xscrabble/ChangeLog
index 8be23cf68ce2..8c45c82c3397 100644
--- a/games-board/xscrabble/ChangeLog
+++ b/games-board/xscrabble/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/xscrabble
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/ChangeLog,v 1.3 2004/04/13 09:51:28 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/ChangeLog,v 1.4 2004/05/05 01:13:00 mr_bones_ Exp $
+
+ 04 May 2004; Michael Sterrett <mr_bones_@gentoo.org> xscrabble-2.10.ebuild:
+ Only sed actual files (bug #49892)
13 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xscrabble-2.10.ebuild:
games eclass already inherits eutils; depend on sed >= 4; error check sed; use
diff --git a/games-board/xscrabble/xscrabble-2.10.ebuild b/games-board/xscrabble/xscrabble-2.10.ebuild
index 43c9f9c21a45..4f48d3e0e412 100644
--- a/games-board/xscrabble/xscrabble-2.10.ebuild
+++ b/games-board/xscrabble/xscrabble-2.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/xscrabble-2.10.ebuild,v 1.4 2004/04/14 20:23:46 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/xscrabble-2.10.ebuild,v 1.5 2004/05/05 01:13:00 mr_bones_ Exp $
inherit eutils games
@@ -39,9 +39,11 @@ src_install() {
use nls && { ./build lang fr || die; }
./build lang en || die
for f in ${D}/usr/X11R6/lib/X11/app-defaults/* ; do
- sed -i \
- -e "s:/usr/games/lib/scrabble/:${GAMES_DATADIR}/${PN}/:" ${f} \
- || die "sed ${f} failed"
+ if [ -f ${f} ] ; then
+ sed -i \
+ -e "s:/usr/games/lib/scrabble/:${GAMES_DATADIR}/${PN}/:" ${f} \
+ || die "sed ${f} failed"
+ fi
done
dodoc CHANGES README
prepgamesdirs