aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-kernel')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index d969c54498742..4fd7980211ac7 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -92,7 +92,7 @@ install -m 0664 kernel/uvm/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers
# this file if you have an equivilent entry in /etc/X11/xorg.d
mkdir -p $PKG/usr/share/X11/xorg.conf.d/
-cat $TMP/$SRCNAM/nvidia-drm-outputclass.conf $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+cat $TMP/$SRCNAM/nvidia-drm-outputclass.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
# OutputClass not available until xorg > 1.16 so fix this up a bit
sed -i "s|OutputClass|Device|" $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
sed -i "s|Match|# Match|" $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf