Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > f1b1d72f75f7ff8280dd44ee8ecfb875 > scriptlet

tomcat6-el-2.1-api-6.0.36-5.mga3.noarch.rpm

POSTIN

/bin/sh
/usr/sbin/update-alternatives --install /usr/share/java/elspec.jar elspec \
   /usr/share/java/tomcat6-el-2.1-api.jar 20250


# move the temporary backups to the correct tomcat directory
# due to rhbz 640686

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
    /usr/sbin/update-alternatives --remove elspec \
        /usr/share/java/tomcat6-el-2.1-api.jar
fi