Update update add unzip -u option

sim-fail-6
Alan Johnston 4 months ago committed by GitHub
parent 173069ce1d
commit d4be3c8cb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -261,7 +261,7 @@ if [ ! -d "/home/pi/fctelem" ]; then
mkdir /home/pi/fctelem/public_html mkdir /home/pi/fctelem/public_html
cd fctelem cd fctelem
wget https://github.com/alanbjohnston/go/releases/download/v0.2/fctelem.zip wget https://github.com/alanbjohnston/go/releases/download/v0.2/fctelem.zip
unzip fctelem.zip unzip -u fctelem.zip
FLAG=1 FLAG=1
elif [ ! -f "/home/pi/fctelem/v0.2" ]; then elif [ ! -f "/home/pi/fctelem/v0.2" ]; then
echo "Updating fctelem binary to version v0.2 for FUNcube mode" echo "Updating fctelem binary to version v0.2 for FUNcube mode"
@ -271,7 +271,7 @@ elif [ ! -f "/home/pi/fctelem/v0.2" ]; then
sudo mv fcdecode.conf fcdecode.conf.bk sudo mv fcdecode.conf fcdecode.conf.bk
sudo mv fctelem.zip fctelem.zip.1 sudo mv fctelem.zip fctelem.zip.1
wget https://github.com/alanbjohnston/go/releases/download/v0.2/fctelem.zip wget https://github.com/alanbjohnston/go/releases/download/v0.2/fctelem.zip
unzip fctelem.zip unzip -u fctelem.zip
FLAG=1 FLAG=1
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.