On Wed, Jul 20, 2005 at 05:53:28PM +0200, Norbert Preining wrote: > Dear all! > > I want to postpone some actions of the postinst script to a later > timepoint, after dpkg has finished installing stuff. I guess you know > why, several runs of updmap-sys and fmtutil-sys --all just takes toooo > long. > > Are there any ideas how one can do this? Check out the zope package and some of it modules. They use the Post-Invoke mechanism. Each zope package asks when zope shall be restarted. If you say 'at the end' it will touch /var/run/zope.restart only. /etc/apt/apt.conf.d/90zope will be run after installing all packages, checks for /var/run/zope.restart and restarts zope if the file is available. Uwe -- MMK GmbH, Universitaetsstr. 11, 58097 Hagen Uwe.Steinmann@mmk-hagen.de Tel: +2331 840446 Fax: +2331 843920
Attachment:
signature.asc
Description: Digital signature