- Clean up the .spec
OBS-URL: https://build.opensuse.org/package/show/hardware/supergfxctl?expand=0&rev=15
This commit is contained in:
parent
a0c60847ce
commit
89dbf8d30c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user