From 9b9aa5accf375f9b55972836b2022143f279fa7ff85ffd6230d725a8dfe5de90 Mon Sep 17 00:00:00 2001 From: R N Date: Wed, 12 Jun 2024 18:00:59 +0000 Subject: [PATCH] - Fixing update process bug OBS-URL: https://build.opensuse.org/package/show/hardware/supergfxctl?expand=0&rev=8 --- supergfxctl.changes | 5 +++++ supergfxctl.spec | 5 ++++- vendor.tar.zst | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/supergfxctl.changes b/supergfxctl.changes index 468443e..e81c0ee 100644 --- a/supergfxctl.changes +++ b/supergfxctl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 12 17:39:23 UTC 2024 - RN + +- Fixing update process bug + ------------------------------------------------------------------- Thu Mar 28 19:59:05 UTC 2024 - RN diff --git a/supergfxctl.spec b/supergfxctl.spec index 3b11bdb..0367c09 100644 --- a/supergfxctl.spec +++ b/supergfxctl.spec @@ -51,7 +51,10 @@ install -D -m 0644 README.md %{buildroot}%{_datadir}/doc/%{name}/README.md %post %service_add_post supergfxd.service -systemctl enable supergfxd.service +if [ -f %{_sysconfdir}/modprobe.d/supergfxd.conf ] +then + systemctl enable supergfxd.service +fi %preun %service_del_preun supergfxd.service diff --git a/vendor.tar.zst b/vendor.tar.zst index 6dd9136..72eeeca 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:922eb660bdd8a652f6d677f4ec53dd718e676793383187f814cc53f8444b97bf -size 18880967 +oid sha256:3f1b7ed592f0acba11264f2996d840c4c8cccb45ede114ecde19df13c09018d5 +size 19181671