kopia lustrzana https://github.com/km4ack/pi-build
fix xastir update check
rodzic
60cb65e871
commit
7bac35726e
5
update
5
update
|
@ -447,6 +447,10 @@ CHECK() {
|
||||||
#----------------------------------------------------#
|
#----------------------------------------------------#
|
||||||
# XASTIR
|
# XASTIR
|
||||||
#----------------------------------------------------#
|
#----------------------------------------------------#
|
||||||
|
echo "Checking Xastir"
|
||||||
|
if ! hash xastir 2>/dev/null; then
|
||||||
|
XASTIR="Not_Installed"
|
||||||
|
else
|
||||||
LATESTXAS=$(curl -s https://github.com/Xastir/Xastir | grep Release- | head -1 | sed 's/.*Release-//;s/">//')
|
LATESTXAS=$(curl -s https://github.com/Xastir/Xastir | grep Release- | head -1 | sed 's/.*Release-//;s/">//')
|
||||||
CURRENTXAS=$(xastir -V | sed 's/Xastir V//;s/(.*//;/^\s*$/d')
|
CURRENTXAS=$(xastir -V | sed 's/Xastir V//;s/(.*//;/^\s*$/d')
|
||||||
|
|
||||||
|
@ -455,6 +459,7 @@ CHECK() {
|
||||||
else
|
else
|
||||||
XASTIR="is_latest_version"
|
XASTIR="is_latest_version"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#----------------------------------------------------#
|
#----------------------------------------------------#
|
||||||
# YAAC
|
# YAAC
|
||||||
|
|
Ładowanie…
Reference in New Issue