From 37ee5876626973d8258a56f2cce167130eae46d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 25 Jun 2020 11:39:34 +0200 Subject: [PATCH] main.sh: Switch kernel target order (#2063) First option is selected in the UI, so have the recommended one there --- lib/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.sh b/lib/main.sh index 035ad11d97..819b261a47 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -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