summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.install
blob: 464fdfeadfce39757f30dd71c9b17e5b3f8aa4b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 
    perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null
fi
}

post_upgrade() {
if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 
    perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null
fi
}