From e155c35a00674881e188813bcaa821e3f98bf87a Mon Sep 17 00:00:00 2001 From: romeo-golf Date: Tue, 7 Feb 2017 18:16:31 +0000 Subject: [PATCH] Fix version variable for Project Title and tweak Dump1090 range update wording --- bash/decoders/dump1090-mutability.sh | 2 +- bash/main.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/decoders/dump1090-mutability.sh b/bash/decoders/dump1090-mutability.sh index 8981775..6e3dfa7 100755 --- a/bash/decoders/dump1090-mutability.sh +++ b/bash/decoders/dump1090-mutability.sh @@ -239,7 +239,7 @@ fi # In future ask the user if they would like to specify the dump1090 range manually, if not set to 360 nmi / ~667 km to match dump1090-fa. if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then - whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Dump1090 Maximum Range" --msgbox "The dump1090-mutability default maximum range value of 300 nmi has been reported to be below what is possible with a well placed antenna so we will increase this value to 360 nmi (~660 km) to match dump1090-fa" 10 78 + whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Dump1090 Maximum Range" --msgbox "The default maximum range value for dump1090-mutability is 300 nmi (~550km) and has been reported to be below what is possible under the right conditions, so this value will be increased to 360 nmi (~660 km) to match the values used by dump1090-fa." 10 78 fi if [[ -z "${DUMP1090_MAX_RANGE}" ]] ; then DUMP1090_MAX_RANGE="360" diff --git a/bash/main.sh b/bash/main.sh index 3d9fc46..c8584ca 100755 --- a/bash/main.sh +++ b/bash/main.sh @@ -48,7 +48,7 @@ if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "true" ]] && [[ -s "${RECEIVER_CONFIGURA fi ## Set the project title variable. -export RECEIVER_PROJECT_TITLE="The ADS-B Receiver Project v${PROJECTVERSION} Installer" +export RECEIVER_PROJECT_TITLE="The ADS-B Receiver Project v${PROJECT_VERSION} Installer" ############### ## FUNCTIONS