Skip to content

Commit

Permalink
Merge pull request #583 from jprochazka/quick-fix
Browse files Browse the repository at this point in the history
CPU arch variable was wrong.
  • Loading branch information
jprochazka authored Jul 11, 2024
2 parents a5c879a + 0e1bff1 commit 68671e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bash/feeders/planefinder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions bash/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)")
Expand Down

0 comments on commit 68671e1

Please sign in to comment.