From 093cf769d4dbb22e01f6e651100ddc6ae7087803 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 15 Jun 2025 09:11:46 -0400 Subject: [PATCH] Update update also update ssdv --- update | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/update b/update index 819bca2a..2d72a8e6 100755 --- a/update +++ b/update @@ -307,6 +307,28 @@ cd /home/pi/pi-power-button echo "nothing to do for pi-power-button." fi +cd /home/pi/ssdv + + git checkout master + + git pull --no-rebase > .updated_p + + grep 'changed' /home/pi/ssdv/.updated_p + if [[ $(grep 'changed' /home/pi/ssdv/.updated_p) ]]; then + + echo "updating ssdv." + +# git checkout master + + script/install + + FLAG=1 + + else + echo "nothing to do for ssdv." + fi + + if [[ $(grep 'dtparam=audio=on' /boot/config.txt) ]]; then echo "dtparam=audio=on already in /boot/config.txt" else