-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Owen Zimmerman <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. |