Disable Wayland in gdm only after installation, not upgrade

i9 changed/i9/msvsphere-configs-0.2.1-2.el9
Arkady L. Shane 2 months ago
parent 52a7d313b7
commit d23ba955ef
Signed by untrusted user: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,7 +1,7 @@
Summary: MSVSphere configuration files
Name: msvsphere-configs
Version: 0.2.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
URL: http://msvsphere-os.ru
@ -53,8 +53,10 @@ install -m755 bin/* %{buildroot}%{_bindir}
%post gnome
glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1
# fixme (disable xorg by default)
sed -i 's@#WaylandEnable=false@WaylandEnable=false@' /etc/gdm/custom.conf
if [ $1 -eq 1 ] ; then
# fixme (disable xorg by default)
sed -i 's@#WaylandEnable=false@WaylandEnable=false@' /etc/gdm/custom.conf
fi
%postun gnome
glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1
@ -69,6 +71,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1
%doc README.md
%changelog
* Thu Aug 29 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.1-2
- Disable Wayland in gdm only after installation, not upgrade
* Mon Aug 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.1-1
- Fixed a discrepancy in the files

Loading…
Cancel
Save