summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-01-02 00:03:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-01-02 00:03:43 +0000
commitb430c5296be38ca531f9f61b0ae35703b6220c38 (patch)
treea33cc77099ea7b9c71f27eeb2eba82e8232760cb /games-emulation/visualboyadvance/files
parentversion bump; use sed -i in wrapper; add header to wrapper (diff)
downloadgentoo-2-b430c5296be38ca531f9f61b0ae35703b6220c38.tar.gz
gentoo-2-b430c5296be38ca531f9f61b0ae35703b6220c38.tar.bz2
gentoo-2-b430c5296be38ca531f9f61b0ae35703b6220c38.zip
version bump; use sed -i in wrapper; add header to wrapper
Diffstat (limited to 'games-emulation/visualboyadvance/files')
-rw-r--r--games-emulation/visualboyadvance/files/digest-visualboyadvance-1.71
-rw-r--r--games-emulation/visualboyadvance/files/visualboyadvance10
2 files changed, 7 insertions, 4 deletions
diff --git a/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7 b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7
new file mode 100644
index 000000000000..8982cff95df2
--- /dev/null
+++ b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7
@@ -0,0 +1 @@
+MD5 31a8665e90e84a079ab6664842083f55 VisualBoyAdvance-src-1.7.tar.gz 1078959
diff --git a/games-emulation/visualboyadvance/files/visualboyadvance b/games-emulation/visualboyadvance/files/visualboyadvance
index d93da142d316..99fad101318b 100644
--- a/games-emulation/visualboyadvance/files/visualboyadvance
+++ b/games-emulation/visualboyadvance/files/visualboyadvance
@@ -1,4 +1,7 @@
#!/bin/bash
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/files/visualboyadvance,v 1.2 2004/01/02 00:03:32 mr_bones_ Exp $
PN=VisualBoyAdvance
if ! [ -d ~/.${PN}/save ]; then
@@ -6,12 +9,11 @@ if ! [ -d ~/.${PN}/save ]; then
cd ~/.${PN}
ln -s `which ${PN}` .
cp /usr/games/share/${PN}/${PN}.cfg .
- mv ${PN}.cfg ${PN}.cfg.old
- sed -e "s:#saveDir.*:saveDir ${HOME}/.${PN}/save:" \
+ sed -i \
+ -e "s:#saveDir.*:saveDir ${HOME}/.${PN}/save:" \
-e "s:#captureDir.*:captureDir ${HOME}/.${PN}:" \
-e "s:#batteryDir.*:batteryDir ${HOME}/.${PN}/save:" \
- ${PN}.cfg.old > ${PN}.cfg
- rm -f ${PN}.cfg.old
+ ${PN}.cfg
fi
cd ~/.${PN}