freebsd-ports/textproc/p5-XML-SAX-ExpatXS/pkg-deinstall
Chris Rees ef23de7290 Fix with pkgng-- !sh scripts are forbidden as $PKG(DE)?INSTALL
If you are using pkgng and can't deinstall this package, reinstall using:

make -DFORCE_PKG_REGISTER -C /usr/ports/textproc/p5-XML-SAX-ExpatXS install

Fix by:		swills
2012-08-21 12:55:18 +00:00

7 lines
138 B
Bash

#!/bin/sh
case $1 in
POST-DEINSTALL)
perl -MXML::SAX -e 'XML::SAX->remove_parser(q(XML::SAX::ExpatXS))->save_parsers();'
;;
esac