Add a hook to disable man-db database generation (closes #69918)

Saves a load of build time, and we don't need up-to-date man index caches when building packages.

This option is supported in man-db >= 2.5.6-4.

authorJulien Cristau <julien.cristau@logilab.fr>
changeset3449ad5d109b
branchdefault
phasepublic
hiddenno
parent revision#b4f173aa934a narval plugin: add an option to choose whether packages should be signed (closes #71412)
child revision#1839a946f25f narval: fix lgp_sign option
files modified by this revision
etc/lgp/hooks/D50debconf
# HG changeset patch
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1311687842 -7200
# Tue Jul 26 15:44:02 2011 +0200
# Node ID 3449ad5d109bbc98c93df2c73c7dc34def2a0264
# Parent b4f173aa934a6e788769d8fc6c622767de4ee52e
Add a hook to disable man-db database generation (closes #69918)

Saves a load of build time, and we don't need up-to-date man index
caches when building packages.

This option is supported in man-db >= 2.5.6-4.

diff --git a/etc/lgp/hooks/D50debconf b/etc/lgp/hooks/D50debconf
@@ -0,0 +1,5 @@
1 +#!/bin/sh
2 +
3 +if command -v debconf-set-selections >/dev/null; then
4 +    echo man-db man-db/auto-update boolean false | debconf-set-selections
5 +fi