summarylogtreecommitdiffstats
path: root/90-cleanup.hook
diff options
context:
space:
mode:
Diffstat (limited to '90-cleanup.hook')
-rw-r--r--90-cleanup.hook14
1 files changed, 14 insertions, 0 deletions
diff --git a/90-cleanup.hook b/90-cleanup.hook
new file mode 100644
index 000000000000..99f5221b76a1
--- /dev/null
+++ b/90-cleanup.hook
@@ -0,0 +1,14 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/modules/*/
+Target = !usr/lib/modules/*/?*
+
+[Action]
+Description = Cleaning up...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/cleanup
+NeedsTargets
+