|
|
|
@ -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
|
|
|
|
|