diff options
Diffstat (limited to 'share/hooks/normal/0400-update-apt-file-cache.hook.chroot')
-rwxr-xr-x | share/hooks/normal/0400-update-apt-file-cache.hook.chroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hooks/normal/0400-update-apt-file-cache.hook.chroot b/share/hooks/normal/0400-update-apt-file-cache.hook.chroot index 771e9032a..4634d4cf8 100755 --- a/share/hooks/normal/0400-update-apt-file-cache.hook.chroot +++ b/share/hooks/normal/0400-update-apt-file-cache.hook.chroot @@ -8,7 +8,7 @@ set -e . /live-build/config/binary -if [ -x /usr/bin/apt-file ] && [ "${LB_APT_INDICES}" = "true" ] +if [ $(which apt-file) ] && [ "${LB_APT_INDICES}" = "true" ] then apt-file update fi |