Added perl-XML-SAX-0.96 template.

--HG--
extra : convert_revision : 2c1f22ac7ada8ca0c31292203aa89e0fb96b1673
This commit is contained in:
Juan RP
2009-04-21 19:21:38 +02:00
parent 5824750120
commit 5f4c4ef370
4 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#
# This script unregisters the SAX parser into the registry.
#
case "${ACTION}" in
pre)
env LC_ALL=C perl -MXML::SAX -e \
"XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()" \
2>&1 >/dev/null
[ $? -eq 0 ] && echo "Removed parser from XML::SAX registry."
;;
post)
;;
esac