diff options
author | 2005-01-09 05:39:27 +0000 | |
---|---|---|
committer | 2005-01-09 05:39:27 +0000 | |
commit | 57d116572138a737038e7be44d960aa580477ada (patch) | |
tree | cf5a51918c310941eaed6834dd1919e3d90766ab /games-emulation/mupen64/files | |
parent | added ~amd keyword. (diff) | |
download | historical-57d116572138a737038e7be44d960aa580477ada.tar.gz historical-57d116572138a737038e7be44d960aa580477ada.tar.bz2 historical-57d116572138a737038e7be44d960aa580477ada.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 |