|
|
@ -18,14 +18,14 @@ fn_install_steamcmd(){ |
|
|
|
fn_check_steamcmd_user(){ |
|
|
|
# Checks if steamuser is setup. |
|
|
|
if [ "${steamuser}" == "username" ]; then |
|
|
|
if [ "${legacymode}" == "1" ] then |
|
|
|
if [ "${legacymode}" == "1" ]; then |
|
|
|
fn_print_fail_nl "Steam login not set. Update steamuser in ${selfname}" |
|
|
|
else |
|
|
|
fn_print_fail_nl "Steam login not set. Update steamuser in ${configdirserver}" |
|
|
|
fi |
|
|
|
echo " * Change steamuser=\"username\" to a valid steam login." |
|
|
|
if [ -d "${lgsmlogdir}" ]; then |
|
|
|
if [ "${legacymode}" == "1" ] then |
|
|
|
if [ "${legacymode}" == "1" ]; then |
|
|
|
fn_script_log_fatal "Steam login not set. Update steamuser in ${selfname}" |
|
|
|
else |
|
|
|
fn_script_log_fatal "Steam login not set. Update steamuser in ${configdirserver}" |
|
|
@ -62,4 +62,4 @@ fn_check_steamcmd_sh(){ |
|
|
|
} |
|
|
|
|
|
|
|
fn_check_steamcmd_user |
|
|
|
fn_check_steamcmd_sh |
|
|
|
fn_check_steamcmd_sh |
|
|
|