Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128845 Details for
Bug 141626
Version bump - games-emulation/pcsx2-0.9.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pcsx2
pcsx2 (text/plain), 2.33 KB, created by
Russell Harmon
on 2007-08-22 10:03:50 UTC
(
hide
)
Description:
pcsx2
Filename:
MIME Type:
Creator:
Russell Harmon
Created:
2007-08-22 10:03:50 UTC
Size:
2.33 KB
patch
obsolete
>#!/bin/bash >PS2EMUDIR=GAMES_LIBDIR/ps2emu >PS2BINDIR=GAMES_PREFIX_OPT/pcsx2 >PS2DIR=GAMES_DATADIR/pcsx2 > >FOLDERS="memcards bios help Langs logs snap sstates patches plugins .pixmaps" >FILES="A39517AB.xml pcsx2" >CONFIGFOLDERS="inis plugins/cfg" > >mkdir -p ~/.pcsx2 >cd ~/.pcsx2 >cleanlinks >mkdir -p ${FOLDERS} ${CONFIGFOLDERS} >shopt -s nullglob > ># Insert creates all folders found in $1 and creates symlinks ># or copies to all files found in $1, creating the dest folder ># if needed. If dest is unspecified, it defaults to the ># basename of src. Filetypes are sym or copy. ># Usage: insert filetype src (dest) ># A phonetic usage would be: ># "Take this file/folder and insert it into this directory. ># For every file, symlink/copy it to the destination." >insert() { > local src dest > filetype="${1}" > src="${2}" > dest="${3}" > : ${dest:="."} > if [ "$(basename "${src}")" != "${src}" ]; then > dest="${dest}/$(basename "${src}")" > fi > > if [ -e "${src}" ]; then > if [ -d "${src}" ]; then > if [ -e "${dest}" ]; then > [ ! -d "${dest}" ] && return 1 > else > mkdir -p "${dest}" > fi > > for f in $(find "${src}" -maxdepth 1 -type f -printf '%f ') ; do > [ -e "${dest}/${f}" -a "${filetype}" == "copy" ] && rm -rf "${dest}/${f}" > if [ ! -e "${dest}/${f}" ]; then > if [ "${filetype}" == "sym" ]; then > ln -s "${src}/${f}" "${dest}" > elif [ "${filetype}" == "copy" ]; then > cp -f "${src}/${f}" "${dest}" > fi > fi > done > > set $(find "${src}" -maxdepth 1 -type d -printf '%f ') > shift > for d in $*; do > insert "${filetype}" "${src}/${d}" "${dest}" > done > else > [ -e "${dest}" -a "${filetype}" == "copy" ] && rm -f "${dest}" > if [ ! -e "${dest}" ]; then > if [ "${filetype}" == "sym" ]; then > ln -sf "${src}" "${dest}" > elif [ "${filetype}" == "copy" ]; then > cp -f "${src}" "${dest}" > fi > fi > fi > else > return 1 > fi >} > >for f in ${FILES} ${FOLDERS}; do > insert sym ${PS2EMUDIR}/${f} > insert sym ${PS2BINDIR}/${f} > insert sym ${PS2DIR}/${f} >done > > >for f in ${CONFIGFOLDERS}; do > if [ "$(basename "${f}")" != "${f}" ]; then > pushd $(dirname "${f}") > /dev/null > fi > insert copy ${PS2EMUDIR}/${f} > insert copy ${PS2BINDIR}/${f} > insert copy ${PS2DIR}/${f} > popd &> /dev/null >done > >if [ -z "$(ls bios/)" ] ; then > echo > echo "*** Put your BIOS file into ~/.pcsx2/bios/" > echo " or pcsx2 may not work!" > echo >fi > >exec ./pcsx2 "$@"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 141626
:
120908
|
120909
|
127158
|
127240
|
127242
|
127331
|
127332
|
127836
|
127837
|
127839
|
128647
|
128649
|
128650
|
128652
|
128821
|
128822
|
128845
|
128857
|
128918
|
128920
|
128923
|
144801
|
144802
|
144803
|
144804
|
144805
|
144991
|
145123
|
145125
|
145126
|
145127
|
155379
|
155669
|
156151
|
156153
|
156155
|
156157
|
156159
|
184473
|
184629
|
191723
|
192073
|
291095