summaryrefslogtreecommitdiffstats
path: root/abs/core/perl/detect-old-perl-modules.hook
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl/detect-old-perl-modules.hook')
-rw-r--r--abs/core/perl/detect-old-perl-modules.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/perl/detect-old-perl-modules.hook b/abs/core/perl/detect-old-perl-modules.hook
new file mode 100644
index 0000000..5ff80d1
--- /dev/null
+++ b/abs/core/perl/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