slackbuilds_ponce/perl/perl-xml-sax/doinst.sh
dsomero 5925bf810b perl/perl-xml-sax: Fix doinst.sh path and clean up build.
Fix doinst.sh to use the correct perl path.
    Thanks to Thomas Morper for the report.
  Clean up the build.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2011-09-21 19:48:32 -03:00

7 lines
234 B
Bash

if [ -f @PERLPATH@/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