summaryrefslogtreecommitdiff
path: root/perl/perl-xml-libxml/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-xml-libxml/doinst.sh')
-rw-r--r--perl/perl-xml-libxml/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl/perl-xml-libxml/doinst.sh b/perl/perl-xml-libxml/doinst.sh
new file mode 100644
index 0000000000..ea301fb961
--- /dev/null
+++ b/perl/perl-xml-libxml/doinst.sh
@@ -0,0 +1,6 @@
+# Update SAX parsers
+chroot .
+/usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" 1>/dev/null
+/usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" 1>/dev/null
+
+