|
|
@@ -63,7 +63,7 @@ fn_found_missing_deps(){
|
|
|
if [ "${#array_deps_missing[@]}" != "0" ]; then
|
|
|
fn_print_dots "Checking dependencies"
|
|
|
sleep 0.5
|
|
|
- fn_print_error "Checking dependencies: missing: ${red}${array_deps_missing[@]}${default}"
|
|
|
+ fn_print_error_nl "Checking dependencies: missing: ${red}${array_deps_missing[@]}${default}"
|
|
|
fn_script_log_error "Checking dependencies: missing: ${red}${array_deps_missing[@]}${default}"
|
|
|
sleep 1
|
|
|
sudo -v > /dev/null 2>&1
|
|
|
@@ -86,7 +86,7 @@ fn_found_missing_deps(){
|
|
|
fi
|
|
|
if [ $? != 0 ]; then
|
|
|
fn_print_failure_nl "Unable to install dependencies"
|
|
|
- fn_script_log_fail "Unable to install dependencies"
|
|
|
+ fn_script_log_fatal "Unable to install dependencies"
|
|
|
else
|
|
|
fn_print_complete_nl "Install dependencies completed"
|
|
|
fn_script_log_pass "Install dependencies completed"
|
|
|
@@ -165,7 +165,7 @@ if [ -n "$(command -v dpkg-query)" ]; then
|
|
|
array_deps_required+=( libcurl4-gnutls-dev:i386 )
|
|
|
# Project Zomboid
|
|
|
elif [ "${engine}" == "projectzomboid" ]; then
|
|
|
- array_deps_required+=( openjdk-7-jre )
|
|
|
+ array_deps_required+=( default-jdk )
|
|
|
# Unreal engine
|
|
|
elif [ "${executable}" == "./ucc-bin" ]; then
|
|
|
#UT2K4
|
|
|
@@ -212,7 +212,7 @@ elif [ -n "$(command -v yum)" ]; then
|
|
|
array_deps_required+=( libcurl.i686 )
|
|
|
# Project Zomboid
|
|
|
elif [ "${engine}" == "projectzomboid" ]; then
|
|
|
- array_deps_required+=( java-1.7.0-openjdk )
|
|
|
+ array_deps_required+=( java-1.8.0-openjdk )
|
|
|
# Unreal engine
|
|
|
elif [ "${executable}" == "./ucc-bin" ]; then
|
|
|
#UT2K4
|