summaryrefslogtreecommitdiff
path: root/user/perl-xml-sax/perl-xml-sax.pre-deinstall
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-11 21:01:03 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-11 21:01:03 +0000
commit4b5db770f22714a3d481f3ab091e28d140e5d053 (patch)
treef816f7ac8e144b5433bb85917c70361def951e33 /user/perl-xml-sax/perl-xml-sax.pre-deinstall
parenta51b72fc79b1507e2e05b091791e0b0c3e866595 (diff)
downloadpackages-4b5db770f22714a3d481f3ab091e28d140e5d053.tar.gz
packages-4b5db770f22714a3d481f3ab091e28d140e5d053.tar.bz2
packages-4b5db770f22714a3d481f3ab091e28d140e5d053.tar.xz
packages-4b5db770f22714a3d481f3ab091e28d140e5d053.zip
user/perl-xml-sax: new package
Diffstat (limited to 'user/perl-xml-sax/perl-xml-sax.pre-deinstall')
-rw-r--r--user/perl-xml-sax/perl-xml-sax.pre-deinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/perl-xml-sax/perl-xml-sax.pre-deinstall b/user/perl-xml-sax/perl-xml-sax.pre-deinstall
new file mode 100644
index 000000000..cdfeaccfa
--- /dev/null
+++ b/user/perl-xml-sax/perl-xml-sax.pre-deinstall
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Remove the parser from the registry.
+
+LC_ALL=C perl -MXML::SAX -e \
+ "XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()"