diff options
Diffstat (limited to 'abs/core-testing/perl_modules/perl-libxml/perl-libxml.install')
-rw-r--r-- | abs/core-testing/perl_modules/perl-libxml/perl-libxml.install | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install b/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install new file mode 100644 index 0000000..a7616f2 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install @@ -0,0 +1,29 @@ +pre_install() { + /bin/true +} + +post_install() { + echo ":: Installing SAX XML Parsers" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" +} + +pre_upgrade() { + /bin/true +} + +post_upgrade() { + /bin/true +} + +pre_remove() { + /bin/true +} + +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* |