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

Re: creating a debian package that doesn't require compiling...



MoiN

On Sat, Dec 09, 2000 at 02:46:51PM +1100, Jeremy Higgs wrote:
> the man page for update-rc.d didn't say WHERE to execute update-rc.d, 
> so I put it at the end.

The update-rc.d has to be executed in the postinst of the
package. If you're using debhelper those scripts should be
generated automatically for you. Just look in the files
debian/rcf/DEBIAN/postinst and .../postrm, which should include
the call to update-rc.d.

Please don't put it in the debian/rules file, as update-rc.d must
be executed on _installation_, not on building the package.

    Ingo
-- 
"Open Source" programs mean software for which the source code is available
without confidential or trade secret restrictions and for which the source code
and object code are available for distribution without license charges.
					-- "The Open Group" Public License



Reply to: