km4ack / pi-build

https://youtube.com/km4ack
338 stars 71 forks source link

WSJTX won't download #489

Closed rexhunt closed 1 year ago

rexhunt commented 1 year ago

The WSJTX installation can't download it's files as the physics.princeton site is down.

michaelShriver commented 1 year ago

The project homepage appears to have moved here: https://wsjt.sourceforge.io/. Source downloads should be updated accordingly, installation from the old site is still not working.

SpudGunMan commented 1 year ago

Here is a possible fix


FT8PKG=$(curl -s https://wsjt.sourceforge.io/wsjtx.html| grep .tgz | sed 's/.*="//;s/">.*$//' | sed 's/^.*files\///' | awk '{split($0,a,"/"); print a[2]}')
FT8DIR=$(curl -s https://wsjt.sourceforge.io/wsjtx.html| grep .tgz | sed 's/.*="//;s/">.*$//' | sed 's/^.*files\///' | awk '{split($0,a,"/"); print a[1]}')

cd ${BUILDDIR}
wget --tries 2 --connect-timeout=20 $(curl -s https://wsjt.sourceforge.io/wsjtx.html | grep .tgz | sed 's/.*="//;s/">.*$//' | head -1) -O $FT8PKG
michaelShriver commented 1 year ago

Nice timing, I was just working on a similar patch. See my pull request :)