diff options
author | 2005-08-04 04:49:29 +0000 | |
---|---|---|
committer | 2005-08-04 04:49:29 +0000 | |
commit | 59244ccacf9cb092fc3973d96d6a7502f1968413 (patch) | |
tree | 3e9380d30ea3ff60d7d0f66c614ca43aa8e904a5 /games-emulation/pcsx2/files | |
parent | Version bump. (diff) | |
download | historical-59244ccacf9cb092fc3973d96d6a7502f1968413.tar.gz historical-59244ccacf9cb092fc3973d96d6a7502f1968413.tar.bz2 historical-59244ccacf9cb092fc3973d96d6a7502f1968413.zip |
Don't hardcode the games paths in the wrapper script; version bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-emulation/pcsx2/files')
-rw-r--r-- | games-emulation/pcsx2/files/digest-pcsx2-0.8.1 | 1 | ||||
-rw-r--r-- | games-emulation/pcsx2/files/pcsx2 | 26 |
2 files changed, 14 insertions, 13 deletions
diff --git a/games-emulation/pcsx2/files/digest-pcsx2-0.8.1 b/games-emulation/pcsx2/files/digest-pcsx2-0.8.1 new file mode 100644 index 000000000000..71e02b96fe8b --- /dev/null +++ b/games-emulation/pcsx2/files/digest-pcsx2-0.8.1 @@ -0,0 +1 @@ +MD5 25ce544329c34b520a664af5206f8e44 pcsx2-0.8.1src.7z 551500 diff --git a/games-emulation/pcsx2/files/pcsx2 b/games-emulation/pcsx2/files/pcsx2 index e46f76428243..5af3207aff9d 100644 --- a/games-emulation/pcsx2/files/pcsx2 +++ b/games-emulation/pcsx2/files/pcsx2 @@ -2,22 +2,22 @@ source /sbin/functions.sh -if [ ! -f ${HOME}/.pcsx2/Pcsx2.cfg ]; then +if [ ! -f "${HOME}/.pcsx2/Pcsx2.cfg" ]; then einfo You are running PCSX2 for the first time. einfo Setting up your PCSX2 environment... Please wait... - mkdir -p ${HOME}/.pcsx2 - cd ${HOME}/.pcsx2 + mkdir -p "${HOME}/.pcsx2" + cd "${HOME}/.pcsx2" mkdir Bios Docs Plugins host memcards snap - ln -s /usr/games/bin/pcsx2.bin pcsx2 - ln -s /usr/games/lib/ps2emu/plugins/* Plugins/ - ln -s /usr/games/lib/ps2emu/Langs Langs - ln -s /usr/games/lib/ps2emu/cfg cfg + ln -s GAMES_BINDIR/pcsx2.bin pcsx2 + ln -s GAMES_LIBDIR/ps2emu/plugins/* Plugins/ + ln -s GAMES_LIBDIR/ps2emu/Langs Langs + ln -s GAMES_LIBDIR/ps2emu/cfg cfg cd Bios - if [ -f /usr/games/lib/ps2emu/bios/scph1001.bin ]; then - ln -s /usr/games/lib/ps2emu/bios/scph1001.bin . + if [ -f GAMES_LIBDIR/ps2emu/bios/scph1001.bin ]; then + ln -s GAMES_LIBDIR/ps2emu/bios/scph1001.bin . biosname=scph1001.bin else biosname=HLE @@ -25,7 +25,7 @@ if [ ! -f ${HOME}/.pcsx2/Pcsx2.cfg ]; then cd .. firstplugin() { echo $(basename $(ls "$@" | cut -f1 -d\ ) ) 2>/dev/null ; } - cat >${HOME}/.pcsx2/Pcsx2.cfg <<EOF + cat > "${HOME}/.pcsx2/Pcsx2.cfg" <<EOF Bios = $biosname GS = $(firstplugin Plugins/libGS* ) SPU2 = $(firstplugin Plugins/libSPU2* ) @@ -45,9 +45,9 @@ EOF fi -cd ${HOME}/.pcsx2/ +cd "${HOME}/.pcsx2/" -ln -s /usr/games/lib/ps2emu/cfg/* cfg/ &>/dev/null -ln -s /usr/games/lib/ps2emu/plugins/* plugins/ &>/dev/null +ln -s GAMES_LIBDIR/ps2emu/cfg/* cfg/ &> /dev/null +ln -s GAMES_LIBDIR/ps2emu/plugins/* plugins/ &> /dev/null exec ./pcsx2 "$@" |