mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:59:53 +07:00
arc: reduce code
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
13a03925cc
commit
ac6c3f8503
@ -183,9 +183,7 @@ function arcModel() {
|
||||
if [ ${SATACONTROLLER} -eq 0 ] && [ "${EXTERNALCONTROLLER}" = "false" ] && [ ! "${A}" = "epyc7002" ]; then
|
||||
COMPATIBLE=0
|
||||
fi
|
||||
if [ -z "$(grep -w "${M}" "${S_FILE}")" ]; then
|
||||
COMPATIBLE=0
|
||||
fi
|
||||
[ -z "$(grep -w "${M}" "${S_FILE}")" ] && COMPATIBLE=0
|
||||
else
|
||||
[ -z "$(grep -w "${M}" "${S_FILE}")" ] && BETA="x" || BETA=""
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user