summaryrefslogtreecommitdiff
path: root/repo/perl-xml-sax/perl-xml-sax.pre-deinstall
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/perl-xml-sax/perl-xml-sax.pre-deinstall
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/perl-xml-sax/perl-xml-sax.pre-deinstall')
-rw-r--r--repo/perl-xml-sax/perl-xml-sax.pre-deinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/perl-xml-sax/perl-xml-sax.pre-deinstall b/repo/perl-xml-sax/perl-xml-sax.pre-deinstall
new file mode 100644
index 0000000..fb56f1a
--- /dev/null
+++ b/repo/perl-xml-sax/perl-xml-sax.pre-deinstall
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Unregisters the SAX parser from the registry.
+
+LC_ALL=C perl -MXML::SAX -e \
+ "XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()" 2>&1 >/dev/null