mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-22 05:40:10 +00:00
aircraft.csv.gz path changes due to tar1090-update changes
This commit is contained in:
parent
7748ff4de1
commit
761df76b3a
1 changed files with 5 additions and 2 deletions
|
@ -254,8 +254,11 @@ if [[ -n "$READSB_NET_VRS_PORT" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# make sure the db file exists, and if it does, use it
|
# make sure the db file exists, and if it does, use it
|
||||||
if [[ -e $TAR1090_INSTALL_DIR/aircraft.csv.gz ]]; then
|
|
||||||
if [[ "$TAR1090_ENABLE_AC_DB" == "true" ]]; then
|
if [[ "$TAR1090_ENABLE_AC_DB" == "true" ]]; then
|
||||||
|
if [[ -e $TAR1090_UPDATE_DIR/aircraft.csv.gz ]]; then
|
||||||
|
READSB_CMD+=("--db-file=$TAR1090_UPDATE_DIR/aircraft.csv.gz")
|
||||||
|
elif [[ -e $TAR1090_INSTALL_DIR/aircraft.csv.gz ]]; then
|
||||||
|
# fallback to container supplied not updated csv.gz
|
||||||
READSB_CMD+=("--db-file=$TAR1090_INSTALL_DIR/aircraft.csv.gz")
|
READSB_CMD+=("--db-file=$TAR1090_INSTALL_DIR/aircraft.csv.gz")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue