summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install
blob: a7616f25f45741ebadb0c344a4e284aeb87b20e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 $*