POSTIN
/bin/sh
/usr/sbin/update-alternatives --install /usr/share/java/elspec.jar elspec \
/usr/share/java/tomcat6-el-2.1-api.jar 20250
#%post webapps
# need to use -p here with b-j-r otherwise the examples webapp fails to
# load with a java.io.IOException
#/usr/bin/build-jar-repository -p /var/lib/tomcat6/webapps/examples/WEB-INF/lib \
# taglibs-core.jar taglibs-standard.jar 2>&1
POSTUN
/bin/sh
if [ "$1" = "0" ]; then
/usr/sbin/update-alternatives --remove elspec \
/usr/share/java/tomcat6-el-2.1-api.jar
fi