28 May
2021
28 May
'21
22:11
On Sat, 2021-05-29 at 00:09 +0200, Martin Wilck wrote:
On Sa, 2021-05-29 at 00:02 +0200, Dominique Leuenberger / DimStar
hi Martin,
sorry for the late reply on this topic;
The wiki actually has some hints about how to handle this case: https://en.opensuse.org/openSUSE:Packaging_UsrEtc#Moving_of_configuration_fi...
Hope that helps,
Thanks! I should have found that page :-/
Fortunately, it's pretty close to what I'd figured out, except that I moved away the old .rpmsave files in %post, not %pre. AFAICS %post is sufficient - no?
in %post you already don't know anymore if the .rpmsave was there prior to the update, or not. So you risk to re-enable old moved config files. Cheers, Dominique