<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
Yeah but being a fresh install I didn't bother with backups ;-)<BR>
On Mon, 2004-07-05 at 14:48, Thomas Otto wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Note to the wiser - ALWAYS have backups :)

&gt; Back to reinstall AGAIN...

Here is how I backup the u2k4 files which would be changed *before* 
patching:

Assuming you installed your ut2k4 to /usr/local/games/ and also safed 
and untared your patch to this location (dir permissions are
drwxrwsr-x root:games here with me being in the games group so I dont 
need to be root all the time).

generate a list of files that would be patched:
$ cd /usr/local/games/UT2004-Patch
$ find . -type f &gt; ../ut2k4.patch.3236-1.file.list

then maybe become root and backup the files before applying the patch

$ cd /usr/local/games/
$ while read i
do
[ -f &quot;ut2004/$i&quot; ] &amp;&amp; cp -v &quot;ut2004/$i&quot; &quot;ut2004/$i.3236-1.bak&quot;
done &lt; ut2k4.patch.3236-1.file.list

This is spaces-safe ftr :)

Apply the patch:

$ cp -r UT2004-Patch/* ut2004/

and if anything goes wrong undo it (from the /usr/local/games/ dir):

$ while read i
do
[ -f &quot;ut2004/$i.3236-1.bak&quot; ] &amp;&amp; cp -v &quot;ut2004/$i.3236-1.bak&quot; 
&quot;ut2004/$i&quot; || rm -v &quot;ut2004/$i&quot;  ## &lt;- one line from '[ -f ..' on
done &lt; ut2k4.patch.3236-1.file.list

Yeh, linux was never more ready for the desktop, right? ;)


        -Thomas
</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>