summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2005-01-09 05:39:27 +0000
committerDaniel Goller <morfic@gentoo.org>2005-01-09 05:39:27 +0000
commit32b16e4248fc25ac932544d91b69f344353c0586 (patch)
tree097c98b926ee296eb636e1c042007090352a1ff7 /games-emulation
parentadded ~amd keyword. (Manifest recommit) (diff)
downloadgentoo-2-32b16e4248fc25ac932544d91b69f344353c0586.tar.gz
gentoo-2-32b16e4248fc25ac932544d91b69f344353c0586.tar.bz2
gentoo-2-32b16e4248fc25ac932544d91b69f344353c0586.zip
Updated start script
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/mupen64/ChangeLog5
-rw-r--r--games-emulation/mupen64/files/mupen6415
2 files changed, 16 insertions, 4 deletions
diff --git a/games-emulation/mupen64/ChangeLog b/games-emulation/mupen64/ChangeLog
index a079e2a74145..d9f08d585adb 100644
--- a/games-emulation/mupen64/ChangeLog
+++ b/games-emulation/mupen64/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/mupen64
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/ChangeLog,v 1.9 2005/01/07 22:37:23 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/ChangeLog,v 1.10 2005/01/09 05:39:27 morfic Exp $
+
+ 08 Jan 2005; Daniel Goller <morfic@gentoo.org> files/mupen64:
+ Updated start script
07 Jan 2005; Daniel Goller <morfic@gentoo.org> metadata.xml:
Adding maintainer
diff --git a/games-emulation/mupen64/files/mupen64 b/games-emulation/mupen64/files/mupen64
index 09189fd8d05e..e6ae559f0d95 100644
--- a/games-emulation/mupen64/files/mupen64
+++ b/games-emulation/mupen64/files/mupen64
@@ -2,6 +2,9 @@
if [ ! -d ~/.mupen64/save ] ; then
mkdir -p ~/.mupen64/save
+ if [ -h ~/.mupen64/plugins ]; then
+ rm ~/.mupen64/plugins
+ fi
mkdir -p ~/.mupen64/plugins
cd ~/.mupen64
ln -s GENTOO_DIR/mupen64 mupen64
@@ -9,11 +12,17 @@ if [ ! -d ~/.mupen64/save ] ; then
cp GENTOO_DIR/mupen64.ini .
fi
-cd ~/.mupen64
+cd ~/.mupen64/plugins
-cd plugins
cleanlinks
-ln -s GENTOO_DIR/plugins/*.{so,ini} .
+ln -sf GENTOO_DIR/plugins/*.so .
+for i in GENTOO_DIR/plugins/*.{ini,conf}; do
+ lfile=`basename $i`
+ if [ -h $lfile ]; then
+ rm $lfile
+ cp $i .
+ fi
+done
cd ..
# We must execute ./blah not /foo/bar/blah because mupen64 tries to