File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ function showPlatformNotSupported() {
104104function showMenuMain() {
105105 local result=$( dialog --title " $title " \
106106 --cancel-label " Exit" \
107- --menu " Choose an option:" 15 50 3 \
107+ --menu " Choose an option:" 15 50 6 \
108108 1 " Install" \
109109 2 " Detect SDRs" \
110- 3 " Configure SDR assignments " \
110+ 3 " Assign SDRs to decoders " \
111111 4 " Configure feeds" \
112112 5 " Health check" 2>&1 1>&3 )
113113 echo " $result "
@@ -116,7 +116,7 @@ function showMenuMain() {
116116function showMenuInstall() {
117117 local result=$( dialog --title " $title " \
118118 --cancel-label " Back" \
119- --menu " Choose an option:" 15 50 3 \
119+ --menu " Choose an option:" 15 50 4 \
120120 1 " Install by compiling" \
121121 2 " Install with Docker" \
122122 3 " Install with packages" \
182182
183183 if [ " $result " = " 1" ]; then
184184 selections=$( showMenuInstallDecoders)
185+ echo " Installing decoders: $selections "
186+
187+ if [ " $selections " == " " ]; then
188+ continue
189+ fi
190+
185191 for selection in $selections
186192 do
187193 case $selection in
218224 ;;
219225 esac
220226 done
227+
221228 dialog --title " Success" --msgbox " Decoders installed" 6 50
222229 fi
223230
You can’t perform that action at this time.
0 commit comments