Bug 57062 - Fix savedGames in triplea-0.4.8
Bug#: 57062 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: wjmcqueen@gmail.com
Component: Games
URL: 
Summary: Fix savedGames in triplea-0.4.8
Keywords:  
Status Whiteboard: 
Opened: 2004-07-14 11:51 0000
Description:   Opened: 2004-07-14 11:51 0000
I'm creating a new bug to get this patch in place.  This will direct triplea to
default saved games to ~/.triplea/savedGames instead of the install directory.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Will McQueen 2004-07-14 11:53:23 0000 -------
Created an attachment (id=35408) [details]
default_savedgames.patch

------- Comment #2 From Will McQueen 2004-07-14 11:55:21 0000 -------
(From update of attachment 35408 [details])
--- /usr/portage/games-strategy/triplea/triplea-0.4.8.ebuild	2004-07-01
00:32:35.310282090 -0400
+++ /usr/local/portage/games-strategy/triplea/triplea-0.4.8-r1.ebuild  
2004-07-08 01:27:43.000000000 -0400
@@ -42,12 +42,6 @@
		    games.strategy.engine.framework.GameRunner
	EOF

+	# The default savedGames directory is in the install root.  This
+	# sets it to use the users home directory.
+	cat >"data/triplea.properties"<<-EOF
+		triplea.saveGamesInHomeDir=true
+	EOF
+
	# Repair bad path in .ant.properties (bug #47437)
	sed -i \
		-e "/^junit.jar/s:=.*:=/usr/share/junit/lib/junit.jar:" \

------- Comment #3 From Will McQueen 2004-07-14 11:58:56 0000 -------
Created an attachment (id=35411) [details]
Repaired default_savedgames.patch

Ignore the previous patch and comment.	I had accidentally created the patch
backwards.  This corrects it.

------- Comment #4 From Mr. Bones. 2004-07-24 03:35:12 0000 -------
Added to CVS.  Thanks for the patch and bug report.