From ca7beb8881ec237e2c3d3e10c0228ca6d379f038 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Wed, 2 Jul 2025 14:20:06 +0300 Subject: [PATCH] check_nvidia_rtx: minor changes --- data_from_portwine/scripts/functions_helper | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 3fc92a46..803cffbc 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -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 }