From be7b8cca80f3f940b46197c222eb56cc4afcb2a1 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 1 Jan 2016 22:52:50 +0000 Subject: [PATCH] now using function_selfname --- functions/check_steamcmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/check_steamcmd.sh b/functions/check_steamcmd.sh index 530bd4b73..fe2ff9a7a 100644 --- a/functions/check_steamcmd.sh +++ b/functions/check_steamcmd.sh @@ -53,7 +53,7 @@ else rm -v "${steamcmddir}/steamcmd_linux.tar.gz" chmod +x "${steamcmddir}/steamcmd.sh" fi - if [ "${modulename}" == "Update" ]||[ "${modulename}" == "Validate" ]; then + if [ "${function_selfname}" != "command_update.sh" ]||[ "${function_selfname}" != "command_validate.sh" ]; then # Checks that steamcmd is working correctly and will prompt Steam Guard if required. "${steamcmddir}"/steamcmd.sh +login "${steamuser}" "${steampass}" +quit if [ $? -ne 0 ]; then