void-packages/srcpkgs/perl-XML-SAX/INSTALL
2021-12-28 20:51:40 +01:00

11 lines
271 B
Text

#
# This script registers the SAX parser into the registry.
#
case "${ACTION}" in
post)
LC_ALL=C perl -MXML::SAX -e \
"XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \
2>&1 >/dev/null
[ $? -eq 0 ] && echo "Added parser to XML::SAX registry."
;;
esac