POSTIN
/bin/sh
/bin/grep -q checkstyle-optional /etc/ant.d/checkstyle || \ /usr/bin/perl -p -i -e 's|checkstyle|checkstyle checkstyle-optional|' /etc/ant.d/checkstyle
POSTUN
/bin/sh
/bin/grep -q checkstyle-optional /etc/ant.d/checkstyle && \ /usr/bin/perl -p -i -e 's|checkstyle-optional ||' /etc/ant.d/checkstyle || :