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