Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103986 Details for
Bug 118737
ut2004-u4e-4.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ut2004-u4e-4.ebuild
ut2004-u4e-4.ebuild (text/plain), 1.26 KB, created by
Paul Bredbury
on 2006-12-13 15:29:34 UTC
(
hide
)
Description:
ut2004-u4e-4.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-12-13 15:29:34 UTC
Size:
1.26 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >MOD_DESC="Unreal Forever additional weapons & monsters" >MOD_NAME="U4E" >INI_FILE_POS=".ut2004/System/UT2004.ini" > >inherit games games-mods > >HOMEPAGE="http://u4e.beyondunreal.com/" >SRC_URI="mirror://beyondunreal/u4e/u4ev${PV}-zip.zip" > >LICENSE="as-is" > >RDEPEND=">=games-fps/ut2004-3369-r1 > games-fps/ut2004-bonuspack-ece" > >src_unpack() { > # The zipfile has a problem with "/" vs "\", which can be ignored > unzip "${DISTDIR}/${A}" >} > >pkg_postinst() { > games-mods_pkg_postinst > > ewarn "To complete the installation, run:" > ewarn " emerge --config ${PN}" > ewarn "to automatically patch ~/${INI_FILE_POS} for all users." > echo >} > >pkg_config() { > local dir ini_file > > for dir in /home/* ; do > ini_file=${dir}/${INI_FILE_POS} > if [[ -e "${ini_file}" ]] ; then > # Check whether the ini file has already been patched > if [[ $(grep -c "/u4e/" "${ini_file}") -lt 5 ]] ; then > # Patch the ini file > echo "Adding u4e to ${ini_file}" > sed -i \ > -e 's:\[Core.System\]:\[Core.System\]\nPaths=../u4e/*.utx\nPaths=../u4e/*.uax\nPaths=../u4e/*.umx\nPaths=../u4e/*.usx\nPaths=../u4e/*.ukx:' \ > "${ini_file}" || echo "sed failed on ${ini_file}" > fi > fi > done >}
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 118737
:
76884
|
82968
| 103986