From 4d0d72278b0bee563b6abc32c8001daf813487d4 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 30 Jun 2026 11:12:54 -0400 Subject: [PATCH] Update install add update to FT857d --- install | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install b/install index 1ce24c20..19520125 100755 --- a/install +++ b/install @@ -862,6 +862,17 @@ if [ ! -f "/home/pi/FT857d" ]; then fi +cd /home/pi/FT857d +git checkout pi +git pull --no-rebase > .updated_p + +if [[ $(grep 'changed' //home/pi/FT857d/.updated_p) ]]; then + echo "updating FT857d" + g++ main.c ../../src/ft857d.cpp -lwiringPi -o ft857d +else + echo "nothing to do for FT857d." +fi + cd #echo "Would you like to reboot to complete the installation (y/n)?"