From f04bdaf82a3e148e7065efeb33338bac55d62f75 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Sat, 26 Apr 2025 18:05:42 -0700 Subject: [PATCH] t2linux-scripts: Fix systemd scriptlets --- t2linux-scripts/t2linux-scripts.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/t2linux-scripts/t2linux-scripts.spec b/t2linux-scripts/t2linux-scripts.spec index 00e05d7..0c1261c 100644 --- a/t2linux-scripts/t2linux-scripts.spec +++ b/t2linux-scripts/t2linux-scripts.spec @@ -1,7 +1,7 @@ %global wiki_commit f71483df460fb97d5c39edf3af03dfc5f6be9a7c Name: t2linux-scripts -Version: 2.0.0 +Version: 2.1.0 Release: 1%{?dist} Summary: t2linux support scripts License: MIT @@ -31,6 +31,18 @@ install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/get-apple-firmware.service install -D -m 644 55-get-apple-firmware.preset %{buildroot}/usr/lib/systemd/system-preset/55-get-apple-firmware.preset +%post +%systemd_post get-apple-firmware.service + + +%preun +%systemd_preun get-apple-firmware.service + + +%postun +%systemd_postun get-apple-firmware.service + + %files %{_libexecdir}/get-apple-firmware %{_unitdir}/get-apple-firmware.service