[csw-maintainers] preserving config files on upgrade
bwalton at opencsw.org
Sun Dec 18 21:38:58 CET 2011
Excerpts from Oliver Kiddle's message of Sun Dec 18 15:31:50 -0500 2011:
> Is there any mechanism for handling configuration files. Basically,
> I'd like to know how best to handle bug 4624 on nmh. nmh 1.4 will
> likely be released shortly and I'd prefer if the new package doesn't
> overwrite existing mts.conf files.
Is there anything in place in the current package for this file? If
it will be left behind when the package is removed, you're in good
shape. If it will be removed, then there isn't much you can do.
In your pending package, simply designate the mts.conf file as the
class action that is most appropriate and it will be delivered as
installed as a different file (different location or name, depending)
and only installed if required.
 http://wiki.opencsw.org/cswclassutils-package: cswcptemplates or
cswpreserveconf are what you're after.
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
More information about the maintainers