diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2004-03-10 05:51:46 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2004-03-10 05:51:46 +0000 |
commit | 2200d6014acd102dc52d4d21bb5b63a51edade2d (patch) | |
tree | a24dce1e0460fb991c1a2170d92bf851aaa8951d /gnome-extra | |
parent | bug #20775, initial commit, ebuild by Matsuu Takuto <matsuu@gentoo.org>, modi... (diff) | |
download | gentoo-2-2200d6014acd102dc52d4d21bb5b63a51edade2d.tar.gz gentoo-2-2200d6014acd102dc52d4d21bb5b63a51edade2d.tar.bz2 gentoo-2-2200d6014acd102dc52d4d21bb5b63a51edade2d.zip |
Avoid overwriting .scores files. Closes bug #43196.
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gnome-games/ChangeLog | 6 | ||||
-rw-r--r-- | gnome-extra/gnome-games/gnome-games-1.4.0.3-r3.ebuild | 4 | ||||
-rw-r--r-- | gnome-extra/gnome-games/gnome-games-2.4.0.ebuild | 4 | ||||
-rw-r--r-- | gnome-extra/gnome-games/gnome-games-2.4.2.ebuild | 16 |
4 files changed, 22 insertions, 8 deletions
diff --git a/gnome-extra/gnome-games/ChangeLog b/gnome-extra/gnome-games/ChangeLog index 01a096c3394f..584e4f019961 100644 --- a/gnome-extra/gnome-games/ChangeLog +++ b/gnome-extra/gnome-games/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/gnome-games # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.56 2004/03/09 23:26:37 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.57 2004/03/10 05:51:46 leonardop Exp $ + + 10 Mar 2004; L. Boshell <leonardop@gentoo.org> gnome-games-2.4.2.ebuild: + Avoid overwriting previous .scores files under /var/lib/games. Closes + bug #43196. 09 Mar 2004; <agriffis@gentoo.org> gnome-games-2.4.2.ebuild: stable on alpha and ia64 diff --git a/gnome-extra/gnome-games/gnome-games-1.4.0.3-r3.ebuild b/gnome-extra/gnome-games/gnome-games-1.4.0.3-r3.ebuild index ecdf11fbe692..b048b2ea46c8 100644 --- a/gnome-extra/gnome-games/gnome-games-1.4.0.3-r3.ebuild +++ b/gnome-extra/gnome-games/gnome-games-1.4.0.3-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Reviewed by Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-1.4.0.3-r3.ebuild,v 1.12 2004/02/22 20:50:53 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-1.4.0.3-r3.ebuild,v 1.13 2004/03/10 05:51:46 leonardop Exp $ IUSE="nls" diff --git a/gnome-extra/gnome-games/gnome-games-2.4.0.ebuild b/gnome-extra/gnome-games/gnome-games-2.4.0.ebuild index 660465a25523..d5f74576bddc 100644 --- a/gnome-extra/gnome-games/gnome-games-2.4.0.ebuild +++ b/gnome-extra/gnome-games/gnome-games-2.4.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.4.0.ebuild,v 1.9 2003/12/13 01:05:24 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.4.0.ebuild,v 1.10 2004/03/10 05:51:46 leonardop Exp $ inherit gnome2 diff --git a/gnome-extra/gnome-games/gnome-games-2.4.2.ebuild b/gnome-extra/gnome-games/gnome-games-2.4.2.ebuild index b254f9ba1972..2c3cda79a189 100644 --- a/gnome-extra/gnome-games/gnome-games-2.4.2.ebuild +++ b/gnome-extra/gnome-games/gnome-games-2.4.2.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/gnome-extra/gnome-games/gnome-games-2.4.2.ebuild,v 1.5 2004/03/09 23:26:37 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.4.2.ebuild,v 1.6 2004/03/10 05:51:46 leonardop Exp $ inherit gnome2 @@ -31,13 +31,23 @@ src_install() { # Documentation install for each of the games cd ${S} - local GAMES=$( find . -type d -maxdepth 1) - for game in ${GAMES}; do + for game in `find . -type d -maxdepth 1` + do docinto ${game} dodoc ${game}/{AUTHORS,ChangeLog,TODO,NEWS,README,COPYING} > /dev/null done rm -rf ${D}/usr/share/doc/${P}/{libgames-support,po} + # Avoid overwriting previous .scores files + local basefile + for scorefile in ${D}/var/lib/games/*.scores + do + basefile=$(basename $scorefile) + if [ -s "${ROOT}/var/lib/games/${basefile}" ] + then + rm ${scorefile} + fi + done } |