- Avoid bashisms in build recipe
OBS-URL: https://build.opensuse.org/package/show/hardware/supergfxctl?expand=0&rev=2
This commit is contained in:
parent
796289d1bb
commit
cf996aa449
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 22:56:20 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Avoid bashisms in build recipe
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 14 05:46:34 UTC 2023 - rn <R_Nik_C@proton.me>
|
||||
|
||||
|
@ -65,11 +65,11 @@ systemctl enable supergfxd.service
|
||||
|
||||
%postun
|
||||
%service_del_postun_with_restart supergfxd.service
|
||||
if [[ -e %{_sysconfdir}/modprobe.d/supergfxd.conf ]]
|
||||
if [ -e %{_sysconfdir}/modprobe.d/supergfxd.conf ]
|
||||
then
|
||||
rm %{_sysconfdir}/modprobe.d/supergfxd.conf
|
||||
fi
|
||||
if [[ -e %{_sysconfdir}/modprobe.d/nvidia.conf ]]
|
||||
if [ -e %{_sysconfdir}/modprobe.d/nvidia.conf ]
|
||||
then
|
||||
if grep -q "# options nvidia-drm.modeset=1" %{_sysconfdir}/modprobe.d/nvidia.conf
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user