|
@@ -272,9 +272,14 @@ fn_found_missing_deps(){
|
|
|
fi
|
|
fi
|
|
|
if [ "${steamcmdfail}" ]; then
|
|
if [ "${steamcmdfail}" ]; then
|
|
|
echo -e ""
|
|
echo -e ""
|
|
|
- fn_print_failure_nl "Missing dependencies required to run SteamCMD."
|
|
|
|
|
- fn_script_log_fatal "Missing dependencies required to run SteamCMD."
|
|
|
|
|
- core_exit.sh
|
|
|
|
|
|
|
+ if [ "${function_selfname}" == "command_install.sh" ]; then
|
|
|
|
|
+ fn_print_failure_nl "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ fn_script_log_fatal "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ core_exit.sh
|
|
|
|
|
+ else
|
|
|
|
|
+ fn_print_error_nl "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ fn_script_log_error "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ fi
|
|
|
fi
|
|
fi
|
|
|
else
|
|
else
|
|
|
fn_print_complete_nl "Install dependencies completed."
|
|
fn_print_complete_nl "Install dependencies completed."
|
|
@@ -293,9 +298,14 @@ fn_found_missing_deps(){
|
|
|
fi
|
|
fi
|
|
|
if [ "${steamcmdfail}" ]; then
|
|
if [ "${steamcmdfail}" ]; then
|
|
|
echo -e ""
|
|
echo -e ""
|
|
|
- fn_print_failure_nl "Missing dependencies required to run SteamCMD."
|
|
|
|
|
- fn_script_log_fatal "Missing dependencies required to run SteamCMD."
|
|
|
|
|
- core_exit.sh
|
|
|
|
|
|
|
+ if [ "${function_selfname}" == "command_install.sh" ]; then
|
|
|
|
|
+ fn_print_failure_nl "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ fn_script_log_fatal "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ core_exit.sh
|
|
|
|
|
+ else
|
|
|
|
|
+ fn_print_error_nl "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ fn_script_log_error "Missing dependencies required to run SteamCMD."
|
|
|
|
|
+ fi
|
|
|
fi
|
|
fi
|
|
|
echo -e ""
|
|
echo -e ""
|
|
|
fi
|
|
fi
|
|
@@ -327,7 +337,7 @@ fn_deps_build_debian(){
|
|
|
array_deps_missing=()
|
|
array_deps_missing=()
|
|
|
|
|
|
|
|
# LinuxGSM requirements.
|
|
# LinuxGSM requirements.
|
|
|
- array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python3 tar bzip2 gzip unzip binutils bc jq tmux )
|
|
|
|
|
|
|
+ array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python3 tar bzip2 gzip unzip binutils bc jq tmux netcat )
|
|
|
|
|
|
|
|
# All servers except ts3, mumble, GTA and minecraft servers require libstdc++6 and lib32gcc1.
|
|
# All servers except ts3, mumble, GTA and minecraft servers require libstdc++6 and lib32gcc1.
|
|
|
if [ "${shortname}" != "ts3" ]&&[ "${shortname}" != "mumble" ]&&[ "${shortname}" != "mc" ]&&[ "${engine}" != "renderware" ]; then
|
|
if [ "${shortname}" != "ts3" ]&&[ "${shortname}" != "mumble" ]&&[ "${shortname}" != "mc" ]&&[ "${engine}" != "renderware" ]; then
|
|
@@ -445,15 +455,15 @@ fn_deps_build_redhat(){
|
|
|
# LinuxGSM requirements.
|
|
# LinuxGSM requirements.
|
|
|
# CentOS
|
|
# CentOS
|
|
|
if [ "${distroversion}" == "7" ]; then
|
|
if [ "${distroversion}" == "7" ]; then
|
|
|
- array_deps_required=( epel-release curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux )
|
|
|
|
|
|
|
+ array_deps_required=( epel-release curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux nmap-ncat )
|
|
|
elif [ "${distroversion}" == "8" ]; then
|
|
elif [ "${distroversion}" == "8" ]; then
|
|
|
- array_deps_required=( epel-release curl wget util-linux python36 file tar gzip bzip2 unzip binutils bc jq tmux )
|
|
|
|
|
|
|
+ array_deps_required=( epel-release curl wget util-linux python36 file tar gzip bzip2 unzip binutils bc jq tmux nmap-ncat )
|
|
|
elif [ "${distroid}" == "fedora" ]; then
|
|
elif [ "${distroid}" == "fedora" ]; then
|
|
|
- array_deps_required=( curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux )
|
|
|
|
|
|
|
+ array_deps_required=( curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux nmap-ncat )
|
|
|
elif [[ "${distroname}" == *"Amazon Linux AMI"* ]]; then
|
|
elif [[ "${distroname}" == *"Amazon Linux AMI"* ]]; then
|
|
|
- array_deps_required=( curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux )
|
|
|
|
|
|
|
+ array_deps_required=( curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux nmap-ncat )
|
|
|
else
|
|
else
|
|
|
- array_deps_required=( curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux )
|
|
|
|
|
|
|
+ array_deps_required=( curl wget util-linux python3 file tar gzip bzip2 unzip binutils bc jq tmux nmap-ncat )
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# All servers except ts3, mumble, multi theft auto and minecraft servers require glibc.i686 and libstdc++.i686.
|
|
# All servers except ts3, mumble, multi theft auto and minecraft servers require glibc.i686 and libstdc++.i686.
|