kopia lustrzana https://github.com/jprochazka/adsb-receiver
main.sh - Update prompt when no dump1090 so it actually installs the selected fork :)
rodzic
e254a2bb3e
commit
b209924b56
15
bash/main.sh
15
bash/main.sh
|
@ -217,10 +217,19 @@ 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
|
||||
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 these two 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)"
|
||||
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)"
|
||||
case $? in
|
||||
"dump1090-mutability") DUMP1090_FORK="mutability" ;;
|
||||
"dump1090-fa") DUMP1090_FORK="fa" ;;
|
||||
"dump1090-mutability")
|
||||
DUMP1090_FORK="mutability"
|
||||
DUMP1090_DO_UPGRADE="true"
|
||||
;;
|
||||
"dump1090-fa")
|
||||
DUMP1090_FORK="fa"
|
||||
DUMP1090_DO_UPGRADE="true"
|
||||
;;
|
||||
*)
|
||||
DUMP1090_DO_UPGRADE="false"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
# Refer to the installation configuration to check if a dump1090 fork has been specified
|
||||
|
|
Ładowanie…
Reference in New Issue