summarylogtreecommitdiffstats
path: root/fleet-orbit-cleanup.hook
diff options
context:
space:
mode:
authorGilbert Gilb's2022-05-12 17:02:13 +0200
committerGilbert Gilb's2022-05-12 19:52:18 +0200
commitc696df792c264322b4b500f021c143c919787352 (patch)
tree5494bae62bf97fca814af2875163fa3ff93e93d4 /fleet-orbit-cleanup.hook
downloadaur-c696df792c264322b4b500f021c143c919787352.tar.gz
first release
Diffstat (limited to 'fleet-orbit-cleanup.hook')
-rw-r--r--fleet-orbit-cleanup.hook8
1 files changed, 8 insertions, 0 deletions
diff --git a/fleet-orbit-cleanup.hook b/fleet-orbit-cleanup.hook
new file mode 100644
index 000000000000..a3b4151b5306
--- /dev/null
+++ b/fleet-orbit-cleanup.hook
@@ -0,0 +1,8 @@
+[Trigger]
+Operation = Remove
+Type = Package
+Target = fleet-orbit
+
+[Action]
+When = PreTransaction
+Exec = /usr/bin/rm -Rf /opt/fleet-orbit/