pull/322/head
KM4ACK 2021-10-11 09:49:38 -05:00
rodzic b2e248c4c0
commit 4b5084a549
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -254,7 +254,7 @@ CHIRP() {
cd ${DIR} || return cd ${DIR} || return
wget --tries 2 --connect-timeout=60 https://trac.chirp.danplanet.com/chirp_daily/LATEST/ wget --tries 2 --connect-timeout=60 https://trac.chirp.danplanet.com/chirp_daily/LATEST/
CHIRPBUILD=$(cat index.html | grep .tar.gz | grep chirp-daily- | awk '{ print $6 }' | sed 's/.*"//' | sed 's/>//' | sed 's/[<].*$//') CHIRPBUILD=$(cat index.html | grep .tar.gz | grep chirp-daily- | awk '{ print $6 }' | sed 's/.*"//' | sed 's/>//' | sed 's/[<].*$//')
sudo apt-get -y install python-gtk2 python-serial python-libxml2 sudo apt-get -y install python-gtk2 python-serial python-libxml2 python-suds
mkdir ${HOME}/chirp mkdir ${HOME}/chirp
cd ${HOME}/chirp || return cd ${HOME}/chirp || return
wget --tries 2 --connect-timeout=60 https://trac.chirp.danplanet.com/chirp_daily/LATEST/$CHIRPBUILD wget --tries 2 --connect-timeout=60 https://trac.chirp.danplanet.com/chirp_daily/LATEST/$CHIRPBUILD