From 0e1bff187f23dba91222b1ab7afaea8a4c9b842a Mon Sep 17 00:00:00 2001 From: jprochazka Date: Wed, 10 Jul 2024 22:34:59 -0400 Subject: [PATCH] CPU arch varible was wrong. --- bash/feeders/planefinder.sh | 2 +- bash/main.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bash/feeders/planefinder.sh b/bash/feeders/planefinder.sh index 6d2546d6..ee3dec3b 100755 --- a/bash/feeders/planefinder.sh +++ b/bash/feeders/planefinder.sh @@ -36,7 +36,7 @@ echo -e "" CheckPackage wget # Some architectures require additional packages. -case "${CPU_ARCHITECTURE}" in +case "${RECIEVER_CPU_ARCHITECTURE}" in "aarch64") echo -e "\e[94m Adding support for the armhf architecture...\e[97m" sudo dpkg --add-architecture armhf diff --git a/bash/main.sh b/bash/main.sh index c98751f7..b8c4a2c6 100755 --- a/bash/main.sh +++ b/bash/main.sh @@ -200,8 +200,8 @@ touch ${RECEIVER_ROOT_DIRECTORY}/FEEDER_CHOICES # Check if the ADS-B Exchange feeder has been set up. if [[ -f /lib/systemd/system/adsbexchange-mlat.service && -f /lib/systemd/system/adsbexchange-feed.service ]]; then # The feeder appears to be set up. - echo "ADS-B Exchange Feeder (upgrade)" >> ${RECEIVER_ROOT_DIRECTORY}/FEEDER_CHOICES - FEEDER_LIST=("${FEEDER_LIST[@]}" 'ADS-B Exchange Feeder (upgrade)' '' OFF) + echo "ADS-B Exchange Feeder (reinstall)" >> ${RECEIVER_ROOT_DIRECTORY}/FEEDER_CHOICES + FEEDER_LIST=("${FEEDER_LIST[@]}" 'ADS-B Exchange Feeder (reinstall)' '' OFF) else # The feeder does not appear to be set up. echo "ADS-B Exchange Feeder" >> ${RECEIVER_ROOT_DIRECTORY}/FEEDER_CHOICES @@ -463,7 +463,7 @@ if [[ -s "${RECEIVER_ROOT_DIRECTORY}/FEEDER_CHOICES" ]]; then while read FEEDER_CHOICE do case ${FEEDER_CHOICE} in - "ADS-B Exchange Feeder"|"ADS-B Exchange Feeder (upgrade)") + "ADS-B Exchange Feeder"|"ADS-B Exchange Feeder (reinstall)") RUN_ADSBEXCHANGE_SCRIPT="true" ;; "FlightAware PiAware"|"FlightAware PiAware (upgrade)"|"FlightAware PiAware (reinstall)")