diff -r -N -b -u html.orig html > app-patch.diff
* This then can go into the install script as follows:
patch -p0 -E << 'EOF'
.... contents of app-patch.diff here ....
'EOF' Note: If patching a single file above, after the 'patch -p0 -E' and before the '<< EOF', insert the filename of file to be patched. Otherwise, installer will attempt to prompt for File to patch and then skip immediately since its automated.
patch -p0 -E < app-patch.diff
There is a --dry-run option for patch that lends itself useful for previewing the patch without it actually patching files.
Doing this '''will''' save you a lot of trial-and-error in the installer.
If you have an problems, remove html and then
cp -a html.pristine html
(or unpack the app again and rename it to make the root html/)
== References ==