<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hugo van der Kooij wrote:
<blockquote
cite="midPine.LNX.4.64.0704182149240.18454@faramir.hugo.vanderkooij.org"
type="cite">
<pre wrap="">On Wed, 18 Apr 2007, Jim Perrin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 4/18/07, Alessandro del Gallo <a class="moz-txt-link-rfc2396E" href="mailto:delgallo@pic.es"><delgallo@pic.es></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello, I think we have a poblem with Red Hat rpm's.
When an update occurs, rpm erases all the files I modofied
in /usr/share/nagios/ without making a backup.
</pre>
</blockquote>
<pre wrap="">This is how the rpm is built. The files in /etc/ are listed as config
files with the %noreplace option, so they get left alone. The files in
/usr/share/ get no such protection. While I would like to see the
nuvola theme made the default, I understand this behavior of rpm, and
just work around it.
</pre>
</blockquote>
<pre wrap=""><!---->
The easy workaround for me is:
- copy index.html to index.html.SHIPPED
- edit index.html to my liking
- create a diff file (diff -u index.html.SHIPPED index.html > index.html.diff)
Then after an package update I can apply the patch once again.
Done this ever sinds 2.0b(something) untill present day 2.9
Hugo.
</pre>
</blockquote>
Yes, you sed it. or better crontab-it,<br>
becouse I don't like to login, cp, cd, ls, diff every time there is an
update!<br>
<br>
Thank you<br>
</body>
</html>