summarylogtreecommitdiffstats
path: root/detect-old-perl-modules.hook
diff options
context:
space:
mode:
authorTucker Boniface2018-08-13 11:44:11 -0700
committerTucker Boniface2018-08-13 11:45:43 -0700
commit3dfc92d6f8063027738b7fb6f4130aff57d18692 (patch)
treef51dfaa9ecb16d1da59d49c60d32ef271a1e8c63 /detect-old-perl-modules.hook
downloadaur-3dfc92d6f8063027738b7fb6f4130aff57d18692.tar.gz
Initial commit
Diffstat (limited to 'detect-old-perl-modules.hook')
-rw-r--r--detect-old-perl-modules.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/detect-old-perl-modules.hook b/detect-old-perl-modules.hook
new file mode 100644
index 000000000000..5ff80d1b4700
--- /dev/null
+++ b/detect-old-perl-modules.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = File
+Target = usr/lib/perl5/*/
+
+[Action]
+Description = Warn about old perl modules
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/detect-old-perl-modules.sh