/opt/vc/bin is not on standard $PATH on Ubuntu

This commit is contained in:
Hin-Tak Leung 2020-08-23 20:17:17 +01:00
parent 7f88e11fd0
commit 6bcd4cad2f

View file

@ -39,6 +39,7 @@ if [ ! -d $OVERLAYS ] ; then
errorFound=1 errorFound=1
fi fi
# should we also check for alsactl and amixer used in seeed-voicecard? # should we also check for alsactl and amixer used in seeed-voicecard?
PATH=$PATH:/opt/vc/bin
for cmd in dtparam dtoverlay ; do for cmd in dtparam dtoverlay ; do
if ! which $cmd &>/dev/null ; then if ! which $cmd &>/dev/null ; then
echo "$cmd not found" 1>&2 echo "$cmd not found" 1>&2