diff options
author | Daniel Goller <morfic@gentoo.org> | 2005-01-09 05:39:27 +0000 |
---|---|---|
committer | Daniel Goller <morfic@gentoo.org> | 2005-01-09 05:39:27 +0000 |
commit | 32b16e4248fc25ac932544d91b69f344353c0586 (patch) | |
tree | 097c98b926ee296eb636e1c042007090352a1ff7 /games-emulation/mupen64/files | |
parent | added ~amd keyword. (Manifest recommit) (diff) | |
download | gentoo-2-32b16e4248fc25ac932544d91b69f344353c0586.tar.gz gentoo-2-32b16e4248fc25ac932544d91b69f344353c0586.tar.bz2 gentoo-2-32b16e4248fc25ac932544d91b69f344353c0586.zip |
Updated start script
Diffstat (limited to 'games-emulation/mupen64/files')
-rw-r--r-- | games-emulation/mupen64/files/mupen64 | 15 |
1 files changed, 12 insertions, 3 deletions
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 |