|
|
@ -116,8 +116,8 @@ fn_check_steamcmd_ark(){ |
|
|
|
} |
|
|
|
|
|
|
|
fn_check_steamcmd_clear(){ |
|
|
|
# Will remove steamcmd dir if steamcmd package is installed. |
|
|
|
if [ "$(command -v steamcmd 2>/dev/null)" ]&&[ -d "${rootdir}/steamcmd" ]; then |
|
|
|
# Will remove steamcmd dir if steamcmd package is installed. |
|
|
|
if [ "$(command -v steamcmd 2>/dev/null)" ]&&[ -d "${rootdir}/steamcmd" ]; then |
|
|
|
rm -rf "${steamcmddir:?}" |
|
|
|
exitcode=$? |
|
|
|
if [ "${exitcode}" != 0 ]; then |
|
|
@ -125,7 +125,7 @@ if [ "$(command -v steamcmd 2>/dev/null)" ]&&[ -d "${rootdir}/steamcmd" ]; then |
|
|
|
else |
|
|
|
fn_script_log_pass "Removing ${rootdir}/steamcmd" |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
fn_check_steamcmd_exec(){ |
|
|
|