summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-10 05:30:17 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-10 13:59:01 +0000
commit9faf9bcbed78c075287a74f3ccd58dbbfc973e63 (patch)
treeea2d7fb2562f5566c1641c1a9c14e3a4a62d8101
parent24f04a924bbd61923718a877c9cb756606bf184d (diff)
downloadvyos-live-build-9faf9bcbed78c075287a74f3ccd58dbbfc973e63.tar.gz
vyos-live-build-9faf9bcbed78c075287a74f3ccd58dbbfc973e63.zip
hooks: run bin without explicit path
this got lost in reworking 7ee59d408ed7681908966a5b2fb28e8f98116d31 Gbp-Dch: Short
-rwxr-xr-xshare/hooks/normal/0410-update-apt-xapian-index.hook.chroot2
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 02f1a18f2..93801e511 100755
--- a/share/hooks/normal/0410-update-apt-xapian-index.hook.chroot
+++ b/share/hooks/normal/0410-update-apt-xapian-index.hook.chroot
@@ -10,5 +10,5 @@ set -e
if [ $(which update-apt-xapian-index) ]
then
- PYTHONDONTWRITEBYTECODE=1 /usr/sbin/update-apt-xapian-index --force --quiet
+ PYTHONDONTWRITEBYTECODE=1 update-apt-xapian-index --force --quiet
fi