summaryrefslogtreecommitdiff
path: root/share/hooks/001-update-apt-file-cache.chroot
blob: 283fc2c53477c4d5d1c591f48c8c6d01f52ca595 (plain)
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.

. /chroot/root/config/binary

if [ -x /usr/bin/apt-file ] && [ "${LB_APT_INDICES}" = "true" ]
then
	apt-file update
fi