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
if [[ $(grep 'SYNCWITHPWM' /home/pi/rpitx/src/librpitx/src/fskburst.h) ]]; then
echo "rpitx already updated"
if [ ! -d "/home/pi/rpitx" ]; then
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
echo "updating rpitx"
cd /home/pi/rpitx
git pull
./update.sh
cd
cd
git clone https://github.com/alanbjohnston/rpitx.git
cd rpitx
./install.sh
cd
fi
if [ ! -d "/home/pi/WiringPi" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.