/usr/share/live/build/hooks/001-update-apt-file-cache.chroot is in live-build 3.0~a57-1ubuntu11.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
set -e
# Update the Apt File cache.
#
# This allows to use using apt-file out-of-the-box.
. /root/config/binary
if [ -x /usr/bin/apt-file ] && [ "${LB_APT_INDICES}" = "true" ]
then
apt-file update
fi
|