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

ok, I have modified the postinst.debhelper script and renamed it (saved it as) postinst in the debian directory. I then created the deb package.

Is there a way I can install the deb package, but test it and see that everything works??

thanks

Reply via email to