From 7d80b3e6f7cfd3ad795ad23dfdc5dababe7334e5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 9 Sep 2025 14:50:02 -0400 Subject: [PATCH] Update update change to check for mpu and bme binaries --- update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update b/update index 40ff5393..dfc6940e 100755 --- a/update +++ b/update @@ -275,7 +275,7 @@ elif [ ! -f "/home/pi/fctelem/v0.2" ]; then FLAG=1 fi -if [ ! -d "/home/pi/MPU6050-C-CPP-Library-for-Raspberry-Pi" ]; then +if [ ! -f "/home/pi/MPU6050-C-CPP-Library-for-Raspberry-Pi/mpu6050" ]; then echo "Installing MPU6050-C-CPP-Library-for-Raspberry-Pi" sudo apt-get install -y libi2c-dev cd @@ -298,7 +298,7 @@ else echo "nothing to do for MPU6050-C-CPP-Library-for-Raspberry-Pi." fi -if [ ! -d "/home/pi/raspberry-pi-bme280" ]; then +if [ ! -f "/home/pi/raspberry-pi-bme280/bme280" ]; then echo "Installing raspberry-pi-bme280" sudo apt-get install -y libi2c-dev cd