Codebase list live-build / 0c03cbe share / hooks / 0300-update-apt-file-cache.chroot
0c03cbe

Tree @0c03cbe (Download .tar.gz)

0300-update-apt-file-cache.chroot @0c03cberaw · history · blame

#!/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