Adding update-alternatives call to set sun-java as default java in sun-java example hook.

This commit is contained in:
Daniel Baumann 2010-01-24 09:09:47 +01:00
parent daeec2c4ca
commit f560e977a9
1 changed files with 3 additions and 0 deletions

View File

@ -26,3 +26,6 @@ DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java6-bin sun-java6-demo \
# Ensure that /tmp has the right permissions; apparently sun-java5-doc tampers
# with it
chmod 1777 /tmp
# Set sun-java as default java
update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java