Hugo van der Kooij wrote:
On Wed, 18 Apr 2007, Jim Perrin wrote:

  
On 4/18/07, Alessandro del Gallo <[EMAIL PROTECTED]> wrote:
    
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.
      
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.
    

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.

  
Yes, you sed it. or better crontab-it,
becouse I don't like to login, cp, cd, ls, diff every time there is an update!

Thank you
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to