diff --git a/update b/update index 5e3098b6..304bd83a 100755 --- a/update +++ b/update @@ -161,10 +161,13 @@ fi if [[ $(grep 'SYNCWITHPWM' /home/pi/rpitx/src/librpitx/src/fskburst.h) ]]; then echo "rpitx already updated" - else +else echo "updating rpitx" - /home/pi/rpitx/update.sh - fi + cd /home/pi/rpitx + git pull + ./update.sh + cd +fi cd /home/pi/pi-power-button