Add pacman hooks
This commit is contained in:
parent
279bf9ca96
commit
fa80b88dbf
12
hooks/01_snap-pac-uki_pre.hook
Normal file
12
hooks/01_snap-pac-uki_pre.hook
Normal 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
|
11
hooks/zz_snap-pac-uki_post.hook
Normal file
11
hooks/zz_snap-pac-uki_post.hook
Normal 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
|
Loading…
Reference in New Issue
Block a user