#!/bin/sh
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
if ! grep "DBD::mysql|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
cat << EOF >> @PERL_LOCAL_POD@
=head2 Sat Jan 15 22:12:45 2022: C<Module> L<Devel::CheckLib|Devel::CheckLib>
=over 4
=item *
C<installed into: /usr/share/perl5/vendor_perl>
=item *
C<LINKTYPE: dynamic>
=item *
C<VERSION: 1.16>
=item *
C<EXE_FILES: bin/use-devel-checklib>
=back
EOF
fi
}
# arg 1: the new package version
# arg 2: the old package version
pre_update() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_update() {
post_install
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
operation=$1
shift
$operation $*