Tags:
bugs1Add my vote for this tag deployment1Add my vote for this tag create new tag
, view all tags

How to Apply a Patch

Some of the Known Issues topics of TWikiProductionReleases supply a patch. To patch your TWiki installation, login to your server, change to the TWiki root directory and then run patch -i patchfile.txt. If needed, download GNU Patch (linked to from PatchGuidelines).

If the patch is very small you can apply it manually. The patch file indicates the file, e.g. twiki/lib/TWiki.pm. Edit that file and replace the - minus lines with the + plus lines, removing the leading plus.

-- Contributors: PeterThoeny, RichardDonkin

Discussion

The TWiki root directory is propably something like /srv/www/htdocs/twiki or /srv/www/twiki.

Depending on the content of the patchfile.txt it might be necessary to run patch -p1 -i patchfile.txt to strip off the first directory level.

Have a look at the first lines of the patch to see if there is a TWiki directory like ---TWiki-4.0.0 then -p1 is your choice.

To get a logfile (recommended) run the following command

patch -p1 -i patchfile.txt &2>1 /tmp/patch.log

-- FerdinandGassauer - 10 Feb 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-02-10 - FerdinandGassauer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.