- Fixing update process bug

OBS-URL: https://build.opensuse.org/package/show/hardware/supergfxctl?expand=0&rev=9
This commit is contained in:
R N 2024-06-12 18:18:28 +00:00 committed by Git OBS Bridge
parent 9b9aa5accf
commit 88f28b46b9

View File

@ -51,7 +51,7 @@ install -D -m 0644 README.md %{buildroot}%{_datadir}/doc/%{name}/README.md
%post %post
%service_add_post supergfxd.service %service_add_post supergfxd.service
if [ -f %{_sysconfdir}/modprobe.d/supergfxd.conf ] if [ ! -e %{_sysconfdir}/modprobe.d/supergfxd.conf ]
then then
systemctl enable supergfxd.service systemctl enable supergfxd.service
fi fi