scx-upstream/libalpm/openrc/90-scx-scheds-upgrade.hook
Piotr Gorski 3684b1601c
Simplifying pacman-hooks
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2024-06-21 12:18:33 +02:00

19 lines
344 B
Plaintext

[Trigger]
Type = Path
Operation = Upgrade
Target = etc/conf.d/scx
Target = etc/default/scx
Target = etc/init.d/scx
Target = usr/bin/scx_*
[Trigger]
Type = Package
Operation = Upgrade
Target = scx-scheds*
[Action]
Description = Checking scx_scheduler...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/scx-openrc-restart
NeedsTargets