[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: How to avoid reinstalling deliberately deleted config files on upgrade



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
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Home]     [Kernel List]     [Red Hat Install]     [PAM]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat 9 Bible]     [Red Hat 9 Mailing List]     [Big List of Linux Books]     [Gimp]     [Yosemite News]