Factorize some code
[scilab.git] / scilab / bin / scilab
index 3c07d79..2cfc43a 100755 (executable)
@@ -703,11 +703,7 @@ check_macosx_version()
     case $macosxMajorVersion in
         10)
             case $macosxMinorVersion in
-                8)
-                   # We force to install JRE on Lion
-                   /usr/libexec/java_home --request
-                   ;;
-                7)
+                7|8)
                    # We force to install JRE on Lion
                    /usr/libexec/java_home --request
                    ;;