From 88f28b46b9b5fbd80641471c1f9250dee0c9efb5fcd0aecfe1336ad4b9328ee8 Mon Sep 17 00:00:00 2001 From: R N Date: Wed, 12 Jun 2024 18:18:28 +0000 Subject: [PATCH] - Fixing update process bug OBS-URL: https://build.opensuse.org/package/show/hardware/supergfxctl?expand=0&rev=9 --- supergfxctl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supergfxctl.spec b/supergfxctl.spec index 0367c09..0712130 100644 --- a/supergfxctl.spec +++ b/supergfxctl.spec @@ -51,7 +51,7 @@ install -D -m 0644 README.md %{buildroot}%{_datadir}/doc/%{name}/README.md %post %service_add_post supergfxd.service -if [ -f %{_sysconfdir}/modprobe.d/supergfxd.conf ] +if [ ! -e %{_sysconfdir}/modprobe.d/supergfxd.conf ] then systemctl enable supergfxd.service fi