summaryrefslogtreecommitdiff
path: root/libraries/perl-xml-sax/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/perl-xml-sax/doinst.sh')
-rw-r--r--libraries/perl-xml-sax/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/libraries/perl-xml-sax/doinst.sh b/libraries/perl-xml-sax/doinst.sh
new file mode 100644
index 0000000000..2d251b50e7
--- /dev/null
+++ b/libraries/perl-xml-sax/doinst.sh
@@ -0,0 +1,7 @@
+if [ -f usr/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini ]; then
+ echo "ParserDetails.ini file already installed.";
+else
+ perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
+ echo "Creating ParserDetails.ini..."
+fi
+