diff --git a/hooks/01_snap-pac-uki_pre.hook b/hooks/01_snap-pac-uki_pre.hook new file mode 100644 index 0000000..852b059 --- /dev/null +++ b/hooks/01_snap-pac-uki_pre.hook @@ -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 diff --git a/hooks/zz_snap-pac-uki_post.hook b/hooks/zz_snap-pac-uki_post.hook new file mode 100644 index 0000000..c0ca293 --- /dev/null +++ b/hooks/zz_snap-pac-uki_post.hook @@ -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