diff --git a/supergfxctl.spec b/supergfxctl.spec index 3bc2653..ad6acd8 100644 --- a/supergfxctl.spec +++ b/supergfxctl.spec @@ -46,11 +46,11 @@ Conflicts: bumblebee-status-module-nvidia-optimus-manager Conflicts: suse-prime Conflicts: system76-power +%sysusers_requires + %description supergfxctl is a super graphics mode controller for laptops with hybrid nvidia. -%sysusers_requires - %prep %autosetup -a1 -p1 @@ -79,10 +79,6 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}-user.conf %post %service_add_post supergfxd.service -if [ ! -e %{_sysconfdir}/modprobe.d/supergfxd.conf ] -then - systemctl enable supergfxd.service -fi %preun %service_del_preun supergfxd.service