source: live-build/trunk/fuentes/share/hooks/002-update-apt-xapian-index.chroot @ 900

Last change on this file since 900 was 900, checked in by kbut, 3 years ago

add original source

  • Property svn:executable set to *
File size: 388 bytes
Line 
1#!/bin/sh
2
3set -e
4
5# Update the Apt Xapian index.
6#
7# The package would do this itself, but (a) it checks policy-rc.d which says it
8# is not allowed to, and (b) it wants to build the index in the background which
9# will be racy in the context of live-build.
10
11if [ -x /usr/sbin/update-apt-xapian-index ]
12then
13        PYTHONDONTWRITEBYTECODE=1 /usr/sbin/update-apt-xapian-index --force --quiet
14fi
Note: See TracBrowser for help on using the repository browser.