How to avoid reinstalling deliberately deleted config files on upgrade
Richard Siddall
richard.siddall at elirion.net
Mon Jun 15 19:30:36 UTC 2009
Valery Reznic wrote:
> In the pre-install script:
> rm -rf /tmp/configs
> mkdir -p /tmp/configs
[snip]
Thanks. I wound up putting the default configuration files in a
separate folder and copying them to the actual configuration folder in
the %post script if that folder did not exist.
Regards,
Richard Siddall
More information about the Rpm-list
mailing list