Skip to content
Browse files

Fix jdk post and pre install scripts.

  • Loading branch information...
1 parent 4a5aa6c commit a81b576d5478a6c8ade8df59a596a4ed2e0bb04c @bernd committed Jan 12, 2012
Showing with 13 additions and 5 deletions.
  1. +6 −2 java-jdk/post-install
  2. +6 −2 java-jdk/pre-uninstall
  3. +1 −1 java-jdk/recipe.rb
View
8 java-jdk/post-install
@@ -3,8 +3,12 @@ set -e
BIN_PATH="/usr/lib/jvm/java-7-oracle-jdk/bin"
-for bin in java javaws java_vm jcontrol keytool orbd pack200 policytool rmid \
- rmiregistry servertool tnameserv unpack200
+for bin in appletviewer apt ControlPanel extcheck idlj jar jarsigner java \
+ javac javadoc javah javap java-rmi.cgi javaws jconsole jcontrol \
+ jdb jhat jinfo jmap jps jrunscript jsadebugd jstack jstat jstatd \
+ jvisualvm keytool native2ascii orbd pack200 policytool rmic rmid \
+ rmiregistry schemagen serialver servertool tnameserv unpack200 \
+ wsgen wsimport xjc
do
update-alternatives --install /usr/bin/$bin $bin $BIN_PATH/$bin 30000
done
View
8 java-jdk/pre-uninstall
@@ -3,8 +3,12 @@ set -e
BIN_PATH="/usr/lib/jvm/java-7-oracle-jdk/bin"
-for bin in java javaws java_vm jcontrol keytool orbd pack200 policytool rmid \
- rmiregistry servertool tnameserv unpack200
+for bin in appletviewer apt ControlPanel extcheck idlj jar jarsigner java \
+ javac javadoc javah javap java-rmi.cgi javaws jconsole jcontrol \
+ jdb jhat jinfo jmap jps jrunscript jsadebugd jstack jstat jstatd \
+ jvisualvm keytool native2ascii orbd pack200 policytool rmic rmid \
+ rmiregistry schemagen serialver servertool tnameserv unpack200 \
+ wsgen wsimport xjc
do
update-alternatives --remove $bin $BIN_PATH/$bin
done
View
2 java-jdk/recipe.rb
@@ -5,7 +5,7 @@ class Java7JDK < FPM::Cookery::Recipe
name 'oracle-java7-jdk'
version '7.2'
- revision 0
+ revision 1
homepage 'http://java.com/'
case RbConfig::CONFIG['arch']

0 comments on commit a81b576

Please sign in to comment.
Something went wrong with that request. Please try again.