Skip to content

Commit 07d1d9d

Browse files
committed
tab function
1 parent 1118f8f commit 07d1d9d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lgsm/functions/core_steamcmd.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,16 @@ fn_check_steamcmd_ark(){
126126
}
127127

128128
fn_check_steamcmd_clear(){
129-
# Will remove steamcmd dir if steamcmd package is installed.
130-
if [ "$(command -v steamcmd 2>/dev/null)" ]&&[ -d "${rootdir}/steamcmd" ]; then
131-
rm -rf "${steamcmddir:?}"
132-
exitcode=$?
133-
if [ "${exitcode}" != 0 ]; then
134-
fn_script_log_fatal "Removing ${rootdir}/steamcmd"
135-
else
136-
fn_script_log_pass "Removing ${rootdir}/steamcmd"
129+
# Will remove steamcmd dir if steamcmd package is installed.
130+
if [ "$(command -v steamcmd 2>/dev/null)" ]&&[ -d "${rootdir}/steamcmd" ]; then
131+
rm -rf "${steamcmddir:?}"
132+
exitcode=$?
133+
if [ "${exitcode}" != 0 ]; then
134+
fn_script_log_fatal "Removing ${rootdir}/steamcmd"
135+
else
136+
fn_script_log_pass "Removing ${rootdir}/steamcmd"
137+
fi
137138
fi
138-
fi
139139
}
140140

141141
fn_check_steamcmd_exec(){

0 commit comments

Comments
 (0)