13 lines
289 B
Text
13 lines
289 B
Text
#
|
|
# This script unregisters the SAX parser into the registry.
|
|
#
|
|
case "${ACTION}" in
|
|
pre)
|
|
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
|