summaryrefslogtreecommitdiff
path: root/share/hooks/0020-update-apt-xapian-index.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'share/hooks/0020-update-apt-xapian-index.chroot')
-rwxr-xr-xshare/hooks/0020-update-apt-xapian-index.chroot14
1 files changed, 0 insertions, 14 deletions
diff --git a/share/hooks/0020-update-apt-xapian-index.chroot b/share/hooks/0020-update-apt-xapian-index.chroot
deleted file mode 100755
index dcb39b261..000000000
--- a/share/hooks/0020-update-apt-xapian-index.chroot
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Update the Apt Xapian index.
-#
-# The package would do this itself, but (a) it checks policy-rc.d which says it
-# is not allowed to, and (b) it wants to build the index in the background which
-# will be racy in the context of live-build.
-
-if [ -x /usr/sbin/update-apt-xapian-index ]
-then
- PYTHONDONTWRITEBYTECODE=1 /usr/sbin/update-apt-xapian-index --force --quiet
-fi