[Rpm-maint] rpm install - sed file - rpmsave for rollback
Tom Brown
tom at ng23.net
Mon Mar 3 15:33:14 UTC 2008
Hi
Earlier i mentioned how i sed a file on installation of an rpm - This
all works perfectly.
I now wonder how i can mark that changed file, which did not come from
the package that seds it, so that if i remove that rpm the changes are
rolled back.
ie - i install package X that changes the sendmail.cf and sets a smart
host to my choice. If i then remove package X the sendmail.cf file gets
reverted back.
I presume i do this by having %config(noreplace) /etc/mail/sendmail.cf
but can i have that line as the only entry in the %files section?
thanks
More information about the Rpm-maint
mailing list