From Fedora Project Wiki

Revision as of 15:07, 21 July 2016 by Stardust85 (talk | contribs) (separate from previous question)

Is there a particular reason to require %{_sbindir}/update-alternatives instead if chkconfig? I thought generally we preferred the latter? Petersen 10:18, 14 November 2011 (UTC)

What is the purpose of %postun in the sendmail example? I mean this:

if [ "$1" -ge "1" ]; then
	if [ "`readlink %{_sysconfdir}/alternatives/mta`" == "%{_sbindir}/sendmail.sendmail" ]; then
		%{_sbindir}/alternatives --set mta %{_sbindir}/sendmail.sendmail

--Stardust85 (talk) 14:56, 21 July 2016 (UTC)