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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux