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
|
# check for syntax errors
|
||||||
# set -n
|
# set -n
|
||||||
|
|
||||||
VER=2.1.11
|
VER=2.1.12
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -1503,7 +1503,7 @@ install_tearfree()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ -e $xpath/20-nvidia.conf ]]; then
|
if [[ -e $xpath/20-nvidia.conf ]]; then
|
||||||
cat "$xpath/20-radeon.conf"
|
cat "$xpath/20-nvidia.conf"
|
||||||
echo
|
echo
|
||||||
echo "NVIDIA driver installed"
|
echo "NVIDIA driver installed"
|
||||||
if [[ $xpath == *"$MNT"* ]]; then
|
if [[ $xpath == *"$MNT"* ]]; then
|
||||||
@ -1517,7 +1517,6 @@ install_tearfree()
|
|||||||
else
|
else
|
||||||
echo "Unable to install nvidia driver"
|
echo "Unable to install nvidia driver"
|
||||||
fi
|
fi
|
||||||
return 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if lspci | grep ' VGA ' | grep -q 'Intel\|AMD/ATI'; then
|
if lspci | grep ' VGA ' | grep -q 'Intel\|AMD/ATI'; then
|
||||||
@ -1529,7 +1528,7 @@ install_tearfree()
|
|||||||
fi
|
fi
|
||||||
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"
|
[[ $xpath == *"$MNT"* ]] && rm -rf "$MNT/usr/bin/nvidia-installer" "$MNT/var/lib/nvidia-installer"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user