From 57c507bc31f8c35c1b5bbec2399876de41313046 Mon Sep 17 00:00:00 2001 From: Thomas Kaiser Date: Fri, 26 May 2017 15:35:37 +0200 Subject: [PATCH] Display WiP boards only when 'EXPERT=yes' is set https://forum.armbian.com/index.php?/topic/4365-armbian-ver-3-failed-from-build-tools/&do=findComment&comment=32527 --- main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 6efc342ad..35fcd57f5 100644 --- a/main.sh +++ b/main.sh @@ -114,7 +114,7 @@ EXT='conf' if [[ -z $BOARD ]]; then WIP_STATE='supported' WIP_BUTTON='WIP' - [[ -n $(find $SRC/lib/config/boards/ -name '*.wip' -print -quit) ]] && DIALOG_EXTRA="--extra-button" + [[ -n $(find $SRC/lib/config/boards/ -name '*.wip' -print -quit) && $EXPERT = "yes" ]] && DIALOG_EXTRA="--extra-button" while true; do options=() for board in $SRC/lib/config/boards/*.${EXT}; do @@ -257,4 +257,4 @@ fi end=`date +%s` runtime=$(((end-start)/60)) -display_alert "Runtime" "$runtime min" "info" \ No newline at end of file +display_alert "Runtime" "$runtime min" "info"