main.sh: Switch kernel target order (#2063)

First option is selected in the UI, so have the recommended one there
This commit is contained in:
Manuel Rüger
2020-06-25 11:39:34 +02:00
committed by GitHub
parent 2e764387ee
commit 37ee587662

View File

@@ -254,8 +254,8 @@ LINUXFAMILY="${BOARDFAMILY}"
if [[ -z $BRANCH ]]; then
options=()
[[ $KERNEL_TARGET == *legacy* ]] && options+=("legacy" "Old stable / Legacy")
[[ $KERNEL_TARGET == *current* ]] && options+=("current" "Recommended. Come with best support")
[[ $KERNEL_TARGET == *legacy* ]] && options+=("legacy" "Old stable / Legacy")
[[ $KERNEL_TARGET == *dev* && $EXPERT = yes ]] && options+=("dev" "\Z1Development version (@kernel.org)\Zn")
# do not display selection dialog if only one kernel branch is available