aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-xml-libxml/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-10 11:30:14 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-11 00:10:57 -0500
commit39ec7da5a2f3e2cea30cf98c71581a8f139d3cda (patch)
treee35014e80743f7238f7d8400ed068761931e3f3d /perl/perl-xml-libxml/doinst.sh
parent64184edeb3ed908ca5d067c91633e663da1b87a2 (diff)
perl/perl-xml-libxml: Updated for version 1.70.
Added doinst.sh to updated sax parsers. XML::LibXML::Common is included in libxml-libxml-perl now. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 0000000000000..ea301fb9611df
--- /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
+
+