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 dcb39b261..02f1a18f2 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 [ -x /usr/sbin/update-apt-xapian-index ] +if [ $(which update-apt-xapian-index) ] then PYTHONDONTWRITEBYTECODE=1 /usr/sbin/update-apt-xapian-index --force --quiet fi |