Sophie

Sophie

distrib > CentOS > 5 > i386 > by-pkgid > 31f54027d239c18df74324f415e512bf > scriptlet

tomcat5-webapps-5.5.23-0jpp.40.el5_9.i386.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
    find /var/lib/tomcat5/webapps/jsp-examples/WEB-INF/lib  \
         -name '\[*\]*.jar' \
         -not -type d | xargs rm -f
fi

POSTIN

/bin/sh
# Create automated links - since all needed extensions may not have been
# installed for this jvm output is muted
# Try to set a sensible jvm
unset JAVA_HOME
[ -r /etc/tomcat5/tomcat5.conf ] && . /etc/tomcat5/tomcat5.conf
[ -z "$JAVA_HOME" ] && [ -r /etc/java/java.conf ] && \
    . /etc/java/java.conf
[ -z "$JAVA_HOME" ] && JAVA_HOME=/usr/lib/jvm/java
build-jar-repository /var/lib/tomcat5/webapps/jsp-examples/WEB-INF/lib \
      jakarta-taglibs-core jakarta-taglibs-standard 2>&1
/usr/bin/rebuild-gcj-db

POSTUN

/bin/sh
/usr/bin/rebuild-gcj-db