aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-xml-sax/perl-xml-sax.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-xml-sax/perl-xml-sax.post-install')
-rw-r--r--main/perl-xml-sax/perl-xml-sax.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/perl-xml-sax/perl-xml-sax.post-install b/main/perl-xml-sax/perl-xml-sax.post-install
new file mode 100644
index 0000000000..cada1f32b9
--- /dev/null
+++ b/main/perl-xml-sax/perl-xml-sax.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Registers the SAX parser into the registry.
+
+LC_ALL=C perl -MXML::SAX -e \
+ "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" 2>&1 >/dev/null