Skip to content

Commit f04bdaf

Browse files
t2linux-scripts: Fix systemd scriptlets
1 parent 487605b commit f04bdaf

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

t2linux-scripts/t2linux-scripts.spec

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%global wiki_commit f71483df460fb97d5c39edf3af03dfc5f6be9a7c
22

33
Name: t2linux-scripts
4-
Version: 2.0.0
4+
Version: 2.1.0
55
Release: 1%{?dist}
66
Summary: t2linux support scripts
77
License: MIT
@@ -31,6 +31,18 @@ install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/get-apple-firmware.service
3131
install -D -m 644 55-get-apple-firmware.preset %{buildroot}/usr/lib/systemd/system-preset/55-get-apple-firmware.preset
3232

3333

34+
%post
35+
%systemd_post get-apple-firmware.service
36+
37+
38+
%preun
39+
%systemd_preun get-apple-firmware.service
40+
41+
42+
%postun
43+
%systemd_postun get-apple-firmware.service
44+
45+
3446
%files
3547
%{_libexecdir}/get-apple-firmware
3648
%{_unitdir}/get-apple-firmware.service

0 commit comments

Comments
 (0)