Re: howto convert configfile on library update?

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

 



Bill Nottingham wrote:
Hans de Goede (j.w.r.degoede@xxxxxx) said:
But how / when do I run this script, obviously it should get run on %post, and only if this is an update. But when?

%triggerpostun lm_sensoros <= (last version) would be one way to make
sure it runs once and only once.


Thanks,

Is there any good documentation on triggers anywhere?

BTW shouldn't that be %preun, after uninstall of the old version, the old config file will be no more, correct?

Is there a way to check if the configfile was modified?

Regards,

Hans

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux