On Fri, Aug 31, 2012 at 02:53:24PM +0200, Michael Prokop wrote:
> This step:
> 
>     echo "Building database of manual pages ..." >&2
>     run_mandb -cq
> 
> in postinst can take quite some time. Especially when building
> Debian packages in an automated fashion this can be quite a waste of
> build time and resources AFAICT.
> 
> It would be nice if there'd be a simple way to skip this step
> (simple as in "no need to dpkg-divert any files from man-db when
> being executed inside pbuilder/cowbuilder/... environment" :))

There's already a preseedable debconf template for this very purpose.
Set man-db/auto-update to false and mandb won't be run.  Does that meet
your needs?

-- 
Colin Watson                                       [[email protected]]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to