mirror of
https://github.com/km4ack/73Linux
synced 2026-08-13 17:51:54 -04:00
fix update check
This commit is contained in:
parent
e60e48e0d6
commit
e87012407d
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ VERSION(){
|
|||
CURRENT=0
|
||||
NEWVER=$(curl --max-time 20 -s https://raw.githubusercontent.com/km4ack/pi-scripts/master/gt-download-links | grep deb= | sed 's/.*gridtracker_//;s/_all.*//')
|
||||
else
|
||||
CURRENT=$(dpkg --list | grep grid | awk '{print $3}')
|
||||
CURRENT=$(dpkg --list | grep gridtracker | awk '{print $3}')
|
||||
NEWVER=$(curl --max-time 20 -s https://raw.githubusercontent.com/km4ack/pi-scripts/master/gt-download-links | grep deb= | sed 's/.*gridtracker_//;s/_all.*//')
|
||||
fi
|
||||
echo $CURRENT $NEWVER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue