diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-09-30 01:24:29 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-09-30 01:24:29 +0000 |
commit | 62ff9c747bbf9af5f765949ee96e770070cb0ee3 (patch) | |
tree | 512c53f3b5d53194b7b19dd255eaf9f3a1b762ef /games-rpg/nwn-data | |
parent | Initial commit, ebuild by James Le Cuirot <chewi@ffaura.com>, bug 87857. (diff) | |
download | gentoo-2-62ff9c747bbf9af5f765949ee96e770070cb0ee3.tar.gz gentoo-2-62ff9c747bbf9af5f765949ee96e770070cb0ee3.tar.bz2 gentoo-2-62ff9c747bbf9af5f765949ee96e770070cb0ee3.zip |
Fixed cosmetic errors on USE=-nowin.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'games-rpg/nwn-data')
-rw-r--r-- | games-rpg/nwn-data/ChangeLog | 5 | ||||
-rw-r--r-- | games-rpg/nwn-data/nwn-data-1.29.ebuild | 25 |
2 files changed, 18 insertions, 12 deletions
diff --git a/games-rpg/nwn-data/ChangeLog b/games-rpg/nwn-data/ChangeLog index 845ae8cc2f0d..76f8de8d445f 100644 --- a/games-rpg/nwn-data/ChangeLog +++ b/games-rpg/nwn-data/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-rpg/nwn-data # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.2 2005/09/22 13:59:35 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.3 2005/09/30 01:24:29 wolf31o2 Exp $ + + 30 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: + Fixed cosmetic errors on USE=-nowin. 22 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: Added echo lines to inform users which CD they'll need. diff --git a/games-rpg/nwn-data/nwn-data-1.29.ebuild b/games-rpg/nwn-data/nwn-data-1.29.ebuild index 3d83126913cc..51a2ae6724fd 100644 --- a/games-rpg/nwn-data/nwn-data-1.29.ebuild +++ b/games-rpg/nwn-data/nwn-data-1.29.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.2 2005/09/22 13:59:35 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.3 2005/09/30 01:24:29 wolf31o2 Exp $ inherit eutils games @@ -105,15 +105,18 @@ src_install() { cd ${Ddir} for d in ambient data dmvault hak localvault music override portraits do - cd ${d} - for f in $(find . -name '*.*') ; do - lcf=$(echo ${f} | tr [:upper:] [:lower:]) - if [ ${f} != ${lcf} ] && [ -f ${f} ] - then - mv ${f} $(echo ${f} | tr [:upper:] [:lower:]) - fi - done - cd ${Ddir} + if [ -d ${d} ] + then + cd ${d} + for f in $(find . -name '*.*') ; do + lcf=$(echo ${f} | tr [:upper:] [:lower:]) + if [ ${f} != ${lcf} ] && [ -f ${f} ] + then + mv ${f} $(echo ${f} | tr [:upper:] [:lower:]) + fi + done + cd ${Ddir} + fi done if ! use sou && ! use hou then @@ -122,7 +125,7 @@ src_install() { doicon ${FILESDIR}/nwn.png prepgamesdirs chmod -R g+rwX ${Ddir}/saves ${Ddir}/localvault ${Ddir}/dmvault \ - || die "could not chmod" + 2>&1 > /dev/null || die "could not chmod" chmod g+rwX ${Ddir} || die "could not chmod" } |