Commit ca7beb88 authored by Mikhail Tergoev's avatar Mikhail Tergoev

check_nvidia_rtx: minor changes

parent eadfe343
......@@ -2297,18 +2297,18 @@ check_dirs_and_files_in_pfx () {
check_nvidia_rtx () {
if [[ "$LSPCI_VGA" == *nvidia* ]] ; then
if [[ "$LSPCI_VGA" == *G[0-9]* ]] ||
[[ "$LSPCI_VGA" == *GT[0-9]* ]] ||
[[ "$LSPCI_VGA" == *MCP[0-9]* ]] ||
[[ "$LSPCI_VGA" == *GF[0-9]* ]] ||
[[ "$LSPCI_VGA" == *GK[0-9]* ]] ||
[[ "$LSPCI_VGA" == *GM[0-9]* ]] ||
[[ "$LSPCI_VGA" == *GP[0-9]* ]] ||
[[ "$LSPCI_VGA" == *GV[0-9]* ]] ||
[[ "$LSPCI_VGA" == *TU11[6-7]* ]]; then
return 1
if [[ "$LSPCI_VGA" == *G[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *GT[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *MCP[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *GF[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *GK[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *GM[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *GP[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *GV[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *TU11[6-7]* ]]
then return 1
else return 0
fi
return 0
fi
return 1
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment