Request a change about Nvidia detector

My previous pull is works perfectly in my computer, it can detect Nvidia driver. But I afraid my code don't work with another computer since I never test with that. So, I add my previous code (which worked in my computer) and keep the previous code (which I think it will works on another computer)
pull/1125/head
Muhammad Ichsan 2022-01-24 18:49:06 +07:00 zatwierdzone przez GitHub
rodzic e741650324
commit 6a1301d088
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -177,6 +177,13 @@ detect_gpus(){
set -e
return
fi
lspci | grep "VGA.*NVIDIA"
if [ "${?}" -eq 0 ]; then
export GPU_NVIDIA=true
set -e
return
fi
lspci | grep "VGA.*Intel"
if [ "${?}" -eq 0 ]; then