From 83a3882f3142c196dd5b869c5aeb91dd982526b0 Mon Sep 17 00:00:00 2001 From: natemaia Date: Mon, 23 Dec 2019 10:17:01 -0800 Subject: [PATCH] Fix: typo in tearfree nvidia section, version bump for packaging --- archlabs-installer | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index b55ec7f..eaedc2e 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -8,7 +8,7 @@ # check for syntax errors # set -n -VER=2.1.11 +VER=2.1.12 # default values { @@ -1503,7 +1503,7 @@ install_tearfree() fi fi if [[ -e $xpath/20-nvidia.conf ]]; then - cat "$xpath/20-radeon.conf" + cat "$xpath/20-nvidia.conf" echo echo "NVIDIA driver installed" if [[ $xpath == *"$MNT"* ]]; then @@ -1517,7 +1517,6 @@ install_tearfree() else echo "Unable to install nvidia driver" fi - return 0 fi if lspci | grep ' VGA ' | grep -q 'Intel\|AMD/ATI'; then @@ -1529,7 +1528,7 @@ install_tearfree() fi fi - # remove nvidia installer from installed system when not running nvidia gpu + # remove nvidia installer from installed system [[ $xpath == *"$MNT"* ]] && rm -rf "$MNT/usr/bin/nvidia-installer" "$MNT/var/lib/nvidia-installer" }