Add pacman hooks

This commit is contained in:
Adrian Wannenmacher 2020-09-25 14:48:55 +02:00
parent 279bf9ca96
commit fa80b88dbf
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = *
[Action]
Description = Performing snapper pre snapshot UKI creation...
When = PreTransaction
Exec = /usr/share/libalpm/scripts/snap-pac-uki_create.fish
AbortOnFail

View File

@ -0,0 +1,11 @@
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = *
[Action]
Description = Performing snapper post snapshot UKI creation...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/snap-pac-uki_create.fish