t2linux-scripts: Fix systemd scriptlets

This commit is contained in:
sharpenedblade
2025-04-26 18:05:42 -07:00
parent 487605ba33
commit f04bdaf82a
+13 -1
View File
@@ -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