live-build/share/hooks/normal/0400-update-apt-file-cache....

15 lines
218 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 [ $(which apt-file) ] && [ "${LB_APT_INDICES}" = "true" ]
then
apt-file update
fi