|
@ -405,7 +405,7 @@ fn_deps_build_debian(){ |
|
|
elif [ "${shortname}" == "hw" ]||[ "${shortname}" == "rust" ]; then |
|
|
elif [ "${shortname}" == "hw" ]||[ "${shortname}" == "rust" ]; then |
|
|
array_deps_required+=( lib32z1 ) |
|
|
array_deps_required+=( lib32z1 ) |
|
|
# Minecraft, Rising World, Wurm |
|
|
# Minecraft, Rising World, Wurm |
|
|
elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "rw" ]||[ "${shortname}" == "wurm" ]; then |
|
|
elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "rw" ]; then |
|
|
javaversion=$(java -version 2>&1 | grep "version") |
|
|
javaversion=$(java -version 2>&1 | grep "version") |
|
|
if [ "${javaversion}" ]; then |
|
|
if [ "${javaversion}" ]; then |
|
|
# Added for users using Oracle JRE to bypass the check. |
|
|
# Added for users using Oracle JRE to bypass the check. |
|
@ -514,7 +514,7 @@ fn_deps_build_redhat(){ |
|
|
elif [ "${shortname}" == "hw" ]||[ "${shortname}" == "rust" ]; then |
|
|
elif [ "${shortname}" == "hw" ]||[ "${shortname}" == "rust" ]; then |
|
|
array_deps_required+=( zlib-devel ) |
|
|
array_deps_required+=( zlib-devel ) |
|
|
# Minecraft, Rising World, Wurm |
|
|
# Minecraft, Rising World, Wurm |
|
|
elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "rw" ]||[ "${shortname}" == "wurm" ]; then |
|
|
elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "rw" ]; then |
|
|
javaversion=$(java -version 2>&1 | grep "version") |
|
|
javaversion=$(java -version 2>&1 | grep "version") |
|
|
if [ "${javaversion}" ]; then |
|
|
if [ "${javaversion}" ]; then |
|
|
# Added for users using Oracle JRE to bypass the check. |
|
|
# Added for users using Oracle JRE to bypass the check. |
|
|