Skip to content

Commit

Permalink
Fix systemd preset application
Browse files Browse the repository at this point in the history
Signed-off-by: Owen Zimmerman <[email protected]>
  • Loading branch information
Owen-sz authored Oct 12, 2024
1 parent b7565a5 commit 26c1c4d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions anda/system/chromebook-usbc-fix/chromebook-usbc-fix.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,21 @@ BuildRequires: systemd-rpm-macros
install -Dm755 chromebook-usbc.service %buildroot%{_unitdir}/chromebook-usbc.service

%post
%systemd_post chromebook-usbc.service
%systemd_post 88-ultramarine-chromebook-default.preset

%preun
%systemd_preun chromebook-usbc.service
%systemd_preun 88-ultramarine-chromebook-default.preset

%postun
%systemd_postun_with_restart chromebook-usbc.service
%systemd_postun_with_restart 88-ultramarine-chromebook-default.preset

%files
%doc README.md
%license LICENSE
%{_unitdir}/chromebook-usbc.service

%changelog
* Sat Oct 12 2024 Owen-sz <[email protected]>
- Fix the systemd preset application
* Sat Oct 5 2024 Owen-sz <[email protected]>
- Initial package.

0 comments on commit 26c1c4d

Please sign in to comment.