Update update add fctelem v0.2 check and update

fc-c
Alan Johnston 10 months ago committed by GitHub
parent b9021ed744
commit c259026dce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -230,6 +230,7 @@ fi
if [ ! -d "/home/pi/ssdv" ]; then if [ ! -d "/home/pi/ssdv" ]; then
echo "Installing SSDV for FunCube mode"
cd cd
git clone https://github.com/alanbjohnston/ssdv.git # install ssdv for FunCube images git clone https://github.com/alanbjohnston/ssdv.git # install ssdv for FunCube images
cd ssdv cd ssdv
@ -239,11 +240,20 @@ if [ ! -d "/home/pi/ssdv" ]; then
fi fi
if [ ! -d "/home/pi/fctelem" ]; then if [ ! -d "/home/pi/fctelem" ]; then
echo "Installing fctelem binary v0.2 for FunCube mode"
cd cd
mkdir /home/pi/fctelem mkdir /home/pi/fctelem
cd fctelem cd fctelem
wget https://github.com/alanbjohnston/go/releases/download/v0.1/fctelem.zip wget https://github.com/alanbjohnston/go/releases/download/v0.2/fctelem.zip
unzip fctelem.zip
FLAG=1
elif [ ! -f "/home/pi/fctelem/v0.2" ]; then
echo "Updating fctelem binary to version v0.2 for FunCube mode"
cd
cd /home/pi/fctelem
sudo mv fctelem fctelem.bk
sudo mv fcdecode.conf fcdecode.conf.bk
wget https://github.com/alanbjohnston/go/releases/download/v0.2/fctelem.zip
unzip fctelem.zip unzip fctelem.zip
FLAG=1 FLAG=1
fi fi
@ -252,8 +262,6 @@ cd /home/pi/pi-power-button
git checkout master git checkout master
git pull --no-rebase > .updated_p git pull --no-rebase > .updated_p
grep 'changed' /home/pi/pi-power-button/.updated_p grep 'changed' /home/pi/pi-power-button/.updated_p

Loading…
Cancel
Save

Powered by TurnKey Linux.