Use adsbfi mlat-client

This commit is contained in:
tmantti 2023-03-09 21:22:51 +02:00 • committed by GitHub
commit a7586eb649
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,8 +184,8 @@ then
fi
MLAT_REPO="https://github.com/makrsmark/mlat-client.git"
MLAT_BRANCH="adsbfi"
MLAT_REPO="https://github.com/adsbfi/mlat-client"
MLAT_BRANCH="master"
MLAT_VERSION="$(git ls-remote $MLAT_REPO $MLAT_BRANCH | cut -f1 || echo $RANDOM-$RANDOM )"
if [[ $REINSTALL != yes ]] && grep -e "$MLAT_VERSION" -qs $IPATH/mlat_version \
&& grep -qs -e '#!' "$VENV/bin/mlat-client" && { systemctl is-active adsbfi-mlat &>/dev/null || [[ "${MLAT_DISABLED}" == "1" ]]; }