lb-config/hooks/normal/0400-update-apt-file-cache....

15 lines
221 B
Bash
Executable File

#!/bin/sh
set -e
# Update the Apt File cache.
#
# This allows to use using apt-file out-of-the-box.
. /live-build/config/binary
if [ -x /usr/bin/apt-file ] && [ "${LB_APT_INDICES}" = "true" ]
then
apt-file update
fi