Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 8f703739dc294b280915c5ab7cf4b6e7 > scriptlet

checkstyle-optional-3.5-1.1mdk.noarch.rpm

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 || :