-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
/root/.oldroot/nfs/install/kernel_module_config.functions.sh: line 36: syntax error near unexpected token `}'
/root/.oldroot/nfs/install/kernel_module_config.functions.sh: line 36: ` { [[ "$IAM" == debian ]] && ((IMG_VERSION < 1300)) } ||'
here's the relevant part of code:
[[ "$IAM" == ubuntu ]] &&
((IMG_VERSION == 2004)) &&
hwe_image &&
[[ "$(board_vendor)" == 'ASUSTeK COMPUTER INC.' ]] &&
[[ "$(board_name)" == 'PRIME B760M-A D4' ]] &&
return 0
{
{ [[ "$IAM" == debian ]] && ((IMG_VERSION < 1300)) } ||
{ [[ "$IAM" == ubuntu ]] && ((IMG_VERSION < 2204)) }
} &&
[[ "$(board_vendor)" == 'Gigabyte Technology Co., Ltd.' ]] &&
has_b360hd3p_board &&
return 0
which was introduced in 6998e11.
I guess the curly brackets should be removed, e.g.:
[[ "$IAM" == debian && ((IMG_VERSION < 1300)) ]] ||
[[ "$IAM" == ubuntu && ((IMG_VERSION < 2204)) ]]
Metadata
Metadata
Assignees
Labels
No labels