wok-6.x rev 12183
gat-java6-jre: update JRE (1.6.0_31) + fix plugins install path
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 25 01:54:18 2012 +0100 (2012-03-25) |
parents | dedc7e272d02 |
children | c6fbddf69ced |
files | get-java6-jre/receipt get-java6-jre/stuff/get-java6-jre |
line diff
1.1 --- a/get-java6-jre/receipt Sat Mar 24 17:05:26 2012 +0100 1.2 +++ b/get-java6-jre/receipt Sun Mar 25 01:54:18 2012 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="get-java6-jre" 1.7 -VERSION="1.0" 1.8 +VERSION="1.1" 1.9 CATEGORY="non-free" 1.10 SHORT_DESC="SUN Java Runtime" 1.11 MAINTAINER="erjo@slitaz.org"
2.1 --- a/get-java6-jre/stuff/get-java6-jre Sat Mar 24 17:05:26 2012 +0100 2.2 +++ b/get-java6-jre/stuff/get-java6-jre Sun Mar 25 01:54:18 2012 +0100 2.3 @@ -6,9 +6,9 @@ 2.4 # Author : Eric Joseph-Alexandre <erjo@slitaz.org> 2.5 2.6 PACKAGE="java6-jre" 2.7 -VERSION="1.6.0_17" 2.8 +VERSION="1.6.0_31" 2.9 URL="http://javadl.sun.com/webapps/download/AutoDL?BundleId=35675" 2.10 -TARBALL="jre-6u17-linux-i586.bin" 2.11 +TARBALL="jre-6u31-linux-i586.bin" 2.12 TEMP_DIR="/tmp/$PACKAGE.$$" 2.13 ROOT="$1" 2.14 2.15 @@ -75,8 +75,8 @@ 2.16 post_install() 2.17 { 2.18 echo -n "Processing post install commands..." 2.19 - cd /usr/lib/firefox*/plugins 2.20 - ln -s /usr/lib/java/jre\$VERSION/plugin/i386/ns7/libjavaplugin_oji.so 2.21 + [ -d /usr/lib/mozilla/plugins ] || mkdir -p /usr/lib/mozilla/plugins 2.22 + ln -s /usr/lib/java/jre\$VERSION/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins 2.23 2.24 cd /usr/bin 2.25 ln -s /usr/lib/java/jre\$VERSION/bin/java 2.26 @@ -85,7 +85,7 @@ 2.27 2.28 post_remove() 2.29 { 2.30 - rm -f /usr/lib/firefox*/plugins/libjavaplugin_oji.so 2.31 + rm -f /usr/lib/mozilla/plugins/libnpjp2.so 2.32 rm -f /usr/bin/java 2.33 } 2.34 EOT