[Lunar-commits] <moonbase> sun-jre: fixes /usr/java/jre symlink

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Nov 13 02:07:31 CET 2011


commit c507a0a15699482fd9eb1228c514690da15ac15b
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Nov 13 02:07:31 2011 +0100

    sun-jre: fixes /usr/java/jre symlink
---
 compilers/sun-jre/BUILD |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compilers/sun-jre/BUILD b/compilers/sun-jre/BUILD
index eb73a3e..4e19d90 100644
--- a/compilers/sun-jre/BUILD
+++ b/compilers/sun-jre/BUILD
@@ -13,7 +13,7 @@
   cp -r $SOURCE_DIRECTORY /usr/java &&
   # Sun's recommended symlinks:
   # This one _always_ points on latest Java release
-  ln -sf /usr/java/jre${FVERSION} /usr/java/latest &&
+  ln -sf /usr/java/jre${DVERSION} /usr/java/latest &&
   # This one _always_ points on default Java.
   # If not set manually by root it defaults to /usr/java/latest:
   if [ ! -h /usr/java/default ]; then
@@ -22,7 +22,7 @@
 
   # Some dumb distros say java is only library so install it in /usr/lib
   # We make symlink to help applications find java if they were developed in such ill environment
-  ln -sf /usr/java/jre${FVERSION} /usr/lib/jre${FVERSION} &&
+  ln -sf /usr/java/jre${DVERSION} /usr/lib/jre${DVERSION} &&
 
   # Some applications don't accept anything but /usr/bin
   for file in /usr/java/latest/bin/*; do


More information about the Lunar-commits mailing list