From b5872bc0515085fc09b3507f876a9ea1441f7dc0 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Thu, 13 Jul 2023 15:33:13 +0300 Subject: [PATCH] Update modify-driver.sh --- data/modify-driver.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/data/modify-driver.sh b/data/modify-driver.sh index acb1775..e488a5f 100755 --- a/data/modify-driver.sh +++ b/data/modify-driver.sh @@ -40,6 +40,7 @@ then pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY bash -c "apt remove $pkg -y && sudo apt autoremove -y" else if echo $pkg | grep -i nvidia + then pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY bash -c "apt update -y && apt purge nvidia-driver-* -y && apt install $pkg -y && sudo apt autoremove -y" else pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY bash -c "apt update -y && apt install $pkg -y && sudo apt autoremove -y"