From 46b51ef16069d3424723b706e11190b347b3a59e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 29 Jul 2024 11:43:53 -0400 Subject: [PATCH] Update update fix reinstall rpitx --- update | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/update b/update index 4b56ea4b..2f74c9d8 100755 --- a/update +++ b/update @@ -162,6 +162,14 @@ if [ ! -d "/home/pi/PiSSTVpp" ]; then fi if [ ! -d "/home/pi/rpitx" ]; then + + cd + git clone https://github.com/alanbjohnston/rpitx.git + cd rpitx + ./install.sh + cd +else + if [[ $(grep 'SYNCWITHPWM' /home/pi/rpitx/src/librpitx/src/fskburst.h) ]]; then echo "rpitx already updated" else @@ -171,13 +179,6 @@ if [ ! -d "/home/pi/rpitx" ]; then ./update.sh cd fi -else - - cd - git clone https://github.com/alanbjohnston/rpitx.git - cd rpitx - ./install.sh - cd fi if [ ! -d "/home/pi/WiringPi" ]; then