On 2007-10-26 21:48:55 +0200, Wolfgang Rosenauer wrote:
> 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}
according to
http://en.opensuse.org/Packaging/SUSE_Package_Conventions/RPM_Macros#3.6._.25fillup_and_insserv
is -f skips the fillup part.
darix
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]