blob: 7b1e1f252e0773be84f3ddf425c40ee358afb515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
}
op=$1
shift
$op $*
|