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/xscrabble-2.10.ebuild
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/xscrabble-2.10.ebuild')
-rw-r--r--games-board/xscrabble/xscrabble-2.10.ebuild10
1 files changed, 6 insertions, 4 deletions
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