mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
add model&build error.
This commit is contained in:
parent
c9219b48b7
commit
cfd4ccc2c7
Binary file not shown.
@ -52,7 +52,7 @@ SN="`readConfigKey "sn" "${USER_CONFIG_FILE}"`"
|
||||
echo -e "$(TEXT "Model:") \033[1;36m${MODEL}\033[0m"
|
||||
echo -e "$(TEXT "Build:") \033[1;36m${BUILD}\033[0m"
|
||||
|
||||
if [ ! -f "${MODEL_CONFIG_PATH}/${MODEL}.yml" ]; then
|
||||
if [ ! -f "${MODEL_CONFIG_PATH}/${MODEL}.yml" ] || [ -z "`readConfigKey "builds.${BUILD}" "${MODEL_CONFIG_PATH}/${MODEL}.yml"`" ]; then
|
||||
echo -e "\033[1;33m*** `printf "$(TEXT "The current version of arpl does not support booting %s-%s, please rebuild.")" "${MODEL}" "${BUILD}"` ***\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user