diff options
Diffstat (limited to 'share/hooks/normal/0410-update-apt-xapian-index.hook.chroot')
| -rwxr-xr-x | share/hooks/normal/0410-update-apt-xapian-index.hook.chroot | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/share/hooks/normal/0410-update-apt-xapian-index.hook.chroot b/share/hooks/normal/0410-update-apt-xapian-index.hook.chroot index f737ad171..93801e511 100755 --- a/share/hooks/normal/0410-update-apt-xapian-index.hook.chroot +++ b/share/hooks/normal/0410-update-apt-xapian-index.hook.chroot @@ -8,7 +8,7 @@ set -e  # is not allowed to, and (b) it wants to build the index in the background which  # will be racy in the context of live-build. -if command -v update-apt-xapian-index >/dev/null +if [ $(which update-apt-xapian-index) ]  then  	PYTHONDONTWRITEBYTECODE=1 update-apt-xapian-index --force --quiet  fi | 
