kopia lustrzana https://github.com/km4ack/pi-build
pull/367/head
rodzic
f7b884ee74
commit
86351b8cbf
|
@ -486,13 +486,11 @@ EOF
|
|||
GRIDTRACKER() {
|
||||
cd ${HOME} || return
|
||||
sudo apt-get install -y libgconf-2-4
|
||||
GRIDDLL=$(curl -s https://tagloomis.com/downloads/ | grep linux-arm32 | sed 's/^.*href="//;s/".*//')
|
||||
#Line below changed 05JULY2021 to correct https://github.com/km4ack/pi-build/issues/253
|
||||
#GRIDDLL=$(curl -s https://tagloomis.com/downloads/ | grep linux-arm | sed 's/^.*href="//;s/".*//')
|
||||
GRIDDLL=$(curl -s https://download.gridtracker.org/latest_release.html | grep arm32 | sed 's/.*href="//;s/">.*//')
|
||||
wget --tries 2 --connect-timeout=60 $GRIDDLL
|
||||
GRIDTAR=$(echo $GRIDDLL | sed 's/.*\///g')
|
||||
tar -xzvf $GRIDTAR
|
||||
rm ./*.gz
|
||||
rm GridTracker*.gz
|
||||
OLDFOLDER=$(ls | grep GridTracker*-linux-arm32)
|
||||
mv "$OLDFOLDER" $HOME/GridTracker
|
||||
cat >gridtracker.desktop <<EOF
|
||||
|
|
Ładowanie…
Reference in New Issue