Fix: typo in tearfree nvidia section, version bump for packaging
This commit is contained in:
parent
5b858b6d86
commit
83a3882f31
@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user