#!/bin/sh
set -e

PERL_MAJOR_STRING=536
CPANEL_3RDPARTY=/usr/local/cpanel/3rdparty
CPANEL_PERL_BASE=${CPANEL_3RDPARTY}/perl/536
CPANEL_PERL=${CPANEL_PERL_BASE}/bin/perl

# https://wiki.debian.org/MaintainerScripts

runPost_install() {
:;
}

runPost_always() {

touch `/usr/local/cpanel/3rdparty/perl/536/bin/perl -MConfig -e'print $Config{vendorlib}'`/XML/SAX/ParserDetails.ini
}

case "$1" in
  configure)
    if [ "x$2" = 'x' ]; then
        runPost_install;
    fi
    runPost_always;
  ;;
esac

exit 0
