From fb0776dda8e5dd0410fb15e42e6cf8776b30afe9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 1 Dec 2025 17:38:25 -0500 Subject: [PATCH] Update update add cmake and direwolf v1.8 --- update | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/update b/update index c6435169..306e71ac 100755 --- a/update +++ b/update @@ -23,7 +23,7 @@ if [ "$1" = "u" ]; then fi -sudo apt-get install -y python3-smbus +sudo apt-get install -y python3-smbus cmake sudo sed -i 's/update.sh/update /g' /etc/motd @@ -374,16 +374,18 @@ cd /home/pi/direwolf #git status | grep 'invert' -if [[ ! $(git status | grep 'invert') ]]; then +if [[ ! $(git status | grep 'master-sync-invert') ]]; then - echo "updating direwolf to ptt invert version" + echo "updating direwolf to master-sync-invert version" git pull --no-rebase - git checkout invert - make clean - make -j + git checkout master-sync-invert + mkdir build + cd build + cmake .. + make -j4 sudo make install - make install-rpi + make install-conf cd fi