[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question on mergemaster
- Subject: question on mergemaster
- From: rmtodd at servalan.servalan.com (Richard Todd)
- Date: Thu Jan 22 05:09:55 2004
Peter Ulrich Kruppa wrote:
>What about a file "mergemaster_ignore" where I put in the six or
>seven names of files that should never be touched?
You can do this already with a little fiddling with the .mergemasterrc file.
I have a /root/.mergemasterrc file that looks like this:
------------------------
MM_PRE_COMPARE_SCRIPT=/usr/local/bin/mergemaster_precompare
------------------------
MM_PRE_COMPARE_SCRIPT specifies a script that gets run after the temproot
dir gets populated but before mergemaster starts comparing it against the
current /etc contents. My /usr/local/bin/mergemaster_precompare looks like
this:
------------------------
#!/bin/sh
cd /var/tmp/temproot
rm etc/master.passwd etc/group etc/ppp/ppp.conf etc/mail/aliases etc/amd.map etc/hosts
------------------------
which removes those files from the set of "new" files mergemaster considers
possibly installing.
Visit your host, monkey.org