Am Mon, 19 Jul 2021 13:21:39 +0100
schrieb Daniel P. Berrangé <berra...@redhat.com>:

> The challenge i see here is that of managing upgrades to the proposed
> state.

This is as easy as this for each modified file that was marked as 
%config(noreplace):

%pre
test -f /etc/sysconfig/file.rpmsave && mv -v "$_" "$_".old
%posttrans
test -f /etc/sysconfig/file.rpmsave && mv -v "$_" /etc/sysconfig/file


Olaf

Attachment: pgpLju7bGU8Lq.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to