Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46292 Details for
Bug 74871
games-rpg/nwn-1.65.ebuild submission (new version available)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/nwn-1.65-fixinstall
nwn-1.65-fixinstall (text/plain), 2.48 KB, created by
Francois Guimond
on 2004-12-18 12:37:22 UTC
(
hide
)
Description:
files/nwn-1.65-fixinstall
Filename:
MIME Type:
Creator:
Francois Guimond
Created:
2004-12-18 12:37:22 UTC
Size:
2.48 KB
patch
obsolete
>#!/bin/bash ># Initial version by Bioware ># Modified to match the gentoo setup ># 03/27/2003 phoen][x <phoenix@gentoo.org> > >cd GENTOO_DIR/nwn > >aRequiredDirs=(ambient data music override miles nwm) >aRequiredFiles=(chitin.key dialog.tlk nwmain) >aLCDirs=(ambient data dmvault hak localvault music override portraits) >aProblemFiles=() >aWritables=(nwn.ini nwnplayer.ini nwncdkey.ini saves localvault tempclient currentgame dmvault) > >printf "Checking for required files\n\n" > >for d in ${aRequiredDirs[@]} >do > if [ -d $d ] > then > printf "PASSED: $d directory exists\n" > else > printf "FAILED: $d directory missing\n" > exit > fi >done > >for f in ${aRequiredFiles[@]} >do > if [ -f $f ] > then > printf "PASSED: $f exists\n" > else > printf "FAILED: $f missing\n" > exit > fi >done > >printf "\nFixing case\n\n" > >if [ -f dialog.TLK ] >then > mv dialog.TLK dialog.tlk >fi > >if [ -f dialogF.TLK ] >then > mv dialogF.TLK dialogf.tlk >fi > >for d in ${aLCDirs[@]} >do > if [ -d $d ] > then > printf "$d\n" > > cd $d > > for f in $(find . -name '*.*') > do > lcf=$(echo $f | tr [:upper:] [:lower:]) > if [ $f != $lcf ] > then > if [ -f $f ] > then > mv $f $(echo $f | tr [:upper:] [:lower:]) > fi > fi > printf . > done > > cd .. > > printf "\n" > fi >done > >defIFS=$IFS >IFS='|' > >if [ -d saves ] >then > cd saves > for d in $(find . -name '* - *' -type d -printf "%f|") > do > printf "saves/$d\n" > > cd "$d" > > if [ -f Portrait.tga ] > then > mv Portrait.tga portrait.tga > fi > > if [ -f Screen.tga ] > then > mv Screen.tga screen.tga > fi > > cd .. > done > cd .. >fi > >IFS=$defIFS > >printf "\nChecking for problem files\n\n" > >for f in ${aProblemFiles[@]} >do > if [ -e $f ] > then > printf "WARNING: $f exists, deleting this file is recommended\n" > fi >done > >printf "\nFixing permissions\n\n" > >chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R >chmod g+rwX GENTOO_DIR/nwn/ -R > ># 1.65-specific fixes to permissions >chmod a-x GENTOO_DIR/nwn/data/patch.bif >chmod a-x GENTOO_DIR/nwn/nwm/Chapter1.nwm >chmod a-x GENTOO_DIR/nwn/nwm/Chapter1E.nwm >chmod a-x GENTOO_DIR/nwn/nwm/Chapter2.nwm >chmod a-x GENTOO_DIR/nwn/nwm/Chapter2E.nwm >chmod a-x GENTOO_DIR/nwn/nwm/Chapter3.nwm >chmod a-x GENTOO_DIR/nwn/nwm/Chapter4.nwm >chmod a-x GENTOO_DIR/nwn/nwm/Prelude.nwm >chmod a-x GENTOO_DIR/nwn/patch.key > >printf "\nYou are ready to run Neverwinter Nights.\n\n"
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 74871
:
46291
| 46292