POSTIN
/bin/sh
cat >> /etc/httpd/conf/httpd-perl.conf <<EOF # Mason section Include conf/httpd-mason.conf EOF # restart apache if [ -x /usr/sbin/AESctl ]; then /usr/sbin/AESctl update;fi
POSTUN
/bin/sh
perl -p -i -e 's|# Mason section||' /etc/httpd/conf/httpd-perl.conf perl -p -i -e 's|Include conf\/httpd\-mason.conf||' /etc/httpd/conf/httpd-perl.conf # restart apache if [ -x /usr/sbin/AESctl ]; then /usr/sbin/AESctl update;fi