1 parent baf5d98 commit 648f7efCopy full SHA for 648f7ef
1 file changed
setup/pi/configure.sh
@@ -256,7 +256,7 @@ function check_and_configure_tesla_ble () {
256
DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install bluez
257
fi
258
259
- if apt-cache search pi-bluetooth
+ if [[ -n "$(apt-cache search pi-bluetooth)" ]]
260
then
261
if dpkg-query -W --showformat='${db:Status-Status}\n' "pi-bluetooth" 2>/dev/null | grep -q '^installed$'
262
0 commit comments