diff options
Diffstat (limited to 'perl/perl-xml-sax/doinst.sh')
-rw-r--r-- | perl/perl-xml-sax/doinst.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl/perl-xml-sax/doinst.sh b/perl/perl-xml-sax/doinst.sh new file mode 100644 index 000000000000..1cf8c348778f --- /dev/null +++ b/perl/perl-xml-sax/doinst.sh @@ -0,0 +1,7 @@ +if [ -f usr/lib/perl5/vendor_perl/5.10.0/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 + |