main.sh - Fix dump1090 selection whiptail output

pull/289/head
romeo-golf 2017-01-15 17:29:02 +00:00
rodzic 12b6b3d681
commit d3e802f84a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -225,7 +225,7 @@ fi
if [[ ! "$DUMP1090_INSTALLED" = "true" ]] ; then
# If this is not an automated installation ask the user which one to install.
if [[ "$RECEIVER_AUTOMATED_INSTALL" = "false" ]] ; then
DUMP1090_OPTION=$(whiptail --backtitle "$RECEIVER_PROJECT_TITLE" --title "Choose Dump1090 Version To Install" --menu "The dump1090-mutability or dump1090-fa package does not appear to be installed on this device. In order to continue setup one of the following packages need to be installed. Please select your prefered dump1090 version from the list below.\n\nPlease note that in order to run dump1090-fa PiAware will need to be installed as well." 16 65 2 "dump1090-mutability" "(Mutability)" "dump1090-fa" "(FlightAware)")
DUMP1090_OPTION=$(whiptail --backtitle "$RECEIVER_PROJECT_TITLE" --title "Choose Dump1090 Version To Install" --menu "The dump1090-mutability or dump1090-fa package does not appear to be installed on this device. In order to continue setup one of the following packages need to be installed. Please select your prefered dump1090 version from the list below.\n\nPlease note that in order to run dump1090-fa PiAware will need to be installed as well." 16 65 2 "dump1090-mutability" "(Mutability)" "dump1090-fa" "(FlightAware)" 3>&1 1>&2 2>&3)
case ${DUMP1090_OPTION} in
"dump1090-mutability")
DUMP1090_FORK="mutability"