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
|
||||
#----------------------------------------------------#
|
||||
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/">//')
|
||||
CURRENTXAS=$(xastir -V | sed 's/Xastir V//;s/(.*//;/^\s*$/d')
|
||||
|
||||
|
@ -455,6 +459,7 @@ CHECK() {
|
|||
else
|
||||
XASTIR="is_latest_version"
|
||||
fi
|
||||
fi
|
||||
|
||||
#----------------------------------------------------#
|
||||
# YAAC
|
||||
|
|
Ładowanie…
Reference in New Issue