Pre Post transaction hooks for snapshots and such.

This commit is contained in:
2026-09-14 22:48:05 +02:00
parent 4a4e6927bd
commit 2fedcd0805
8 changed files with 98 additions and 34 deletions
+12
View File
@@ -0,0 +1,12 @@
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Release lock and do stuff
When = PostTransaction
Exec = /usr/bin/hive-up pac finish
+12
View File
@@ -0,0 +1,12 @@
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Snapshot system before any changes
When = PreTransaction
Exec = /usr/bin/hive-up pac start