From d7532b076b44f835d612184236676a5269f4640a Mon Sep 17 00:00:00 2001 From: HengiFettlich Date: Thu, 25 Jul 2019 22:14:08 +0200 Subject: [PATCH] added auto check for NVIDIA --- cemutil.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cemutil.sh b/cemutil.sh index d260f1d..675b797 100755 --- a/cemutil.sh +++ b/cemutil.sh @@ -43,8 +43,12 @@ do fi done +if $(glxinfo | grep -q -e "NVIDIA"); then + skipgfxcheck=1 +fi + function checkgfxver { - echo "Checking graphics packages are new enough. To skip this check (on Nvidia for instance), run with -f flag." + echo "Checking graphics packages are new enough. To skip this check, run with -f flag." if ! $(glxinfo | grep -q -e 'Mesa 18.2' -e 'Mesa 18.3' -e 'Mesa 18.4' -e 'Mesa 19'); then echo "You must install at least Mesa 18.2.0" exit 1