Update update install rpitx if not present

beta-extra
Alan Johnston 1 year ago committed by GitHub
parent 73e15d85b5
commit ca847e8aaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -161,14 +161,23 @@ if [ ! -d "/home/pi/PiSSTVpp" ]; then
fi fi
if [[ $(grep 'SYNCWITHPWM' /home/pi/rpitx/src/librpitx/src/fskburst.h) ]]; then if [ ! -d "/home/pi/rpitx" ]; then
echo "rpitx already updated" if [[ $(grep 'SYNCWITHPWM' /home/pi/rpitx/src/librpitx/src/fskburst.h) ]]; then
echo "rpitx already updated"
else
echo "updating rpitx"
cd /home/pi/rpitx
git pull
./update.sh
cd
fi
else else
echo "updating rpitx"
cd /home/pi/rpitx cd
git pull git clone https://github.com/alanbjohnston/rpitx.git
./update.sh cd rpitx
cd ./install.sh
cd
fi fi
if [ ! -d "/home/pi/WiringPi" ]; then if [ ! -d "/home/pi/WiringPi" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.