commit a641ee97bfc2171768573b2661bc0dbc7ad8cb29
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu May 19 16:17:21 2022 +0200
Performed minor formatting.
xorg-x11-drv-nvidia-470xx.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia-470xx.spec b/xorg-x11-drv-nvidia-470xx.spec
index 5e27537..d448a02 100644
--- a/xorg-x11-drv-nvidia-470xx.spec
+++ b/xorg-x11-drv-nvidia-470xx.spec
@@ -401,7 +401,7 @@ fi
if [ "$1" -eq "1" ]; then
%{_grubby} --remove-args='nomodeset' --args='%{_dracutopts}'
&>/dev/null
sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts}
/g' %{_sysconfdir}/default/grub
- if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
+ if [ -f %{_sysconfdir}/gdm/custom.conf ]; then
sed -i -e 's/#WaylandEnable=.*/WaylandEnable=false/'
%{_sysconfdir}/gdm/custom.conf
fi
fi || :
@@ -410,7 +410,7 @@ fi || :
if [ "$1" -eq "0" ]; then
%{_grubby} --remove-args='%{_dracutopts}' &>/dev/null
sed -i -e 's/%{_dracutopts} //g' %{_sysconfdir}/default/grub
- if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
+ if [ -f %{_sysconfdir}/gdm/custom.conf ]; then
sed -i -e 's/WaylandEnable=.*/#WaylandEnable=false/'
%{_sysconfdir}/gdm/custom.conf
fi
# Backup and disable previously used xorg.conf