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" }