mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 03:55:02 +02:00
Add hooks
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
[Trigger]
|
||||||
|
Type = Package
|
||||||
|
Operation = Upgrade
|
||||||
|
Target = systemd
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Updating systemd-boot
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/bin/systemctl restart systemd-boot-update.service
|
@@ -0,0 +1,15 @@
|
|||||||
|
[Trigger]
|
||||||
|
Operation = Install
|
||||||
|
Operation = Upgrade
|
||||||
|
Operation = Remove
|
||||||
|
Type = Path
|
||||||
|
Target = usr/src/*/dkms.conf
|
||||||
|
Target = usr/lib/modules/*/build/include/
|
||||||
|
Target = usr/lib/modules/*/modules.alias
|
||||||
|
Target = usr/lib/modules/*/vmlinuz
|
||||||
|
Target = usr/lib/modules/*/extramodules/*
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Check for NVIDIA Config
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/local/bin/snigdhaos-nvidia-dkms-check
|
Reference in New Issue
Block a user