Hi,
Jan Engelhardt wrote:
> some packages (e.g. cups), after installation, insert their service into
> the runlevel, others (e.g. apache2) do not. How is this accomplished in
> the %post sections of .spec files?
PreReq: %insserv_prereq
...
%post
%{fillup_and_insserv -f scriptname}
...
%postun
%insserv_cleanup
Packages which are not enabled by default don't have that.
(There are more parameters handling upgrades from SuSE Linux before 8.0
but I don't think you need those)
Wolfgang
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]