Quellcode durchsuchen

refactor: improve code readability and remove unnecessary comments

The commit message summarizes the changes made to the code. In this case, the code has been refactored to improve its readability and remove unnecessary comments.
Daniel Gibbs vor 2 Jahren
Ursprung
Commit
0eac5a1adc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      lgsm/modules/command_update_linuxgsm.sh

+ 1 - 1
lgsm/modules/command_update_linuxgsm.sh

@@ -68,7 +68,7 @@ fi
 # Check gameserver.sh
 # Check gameserver.sh
 # Compare gameserver.sh against linuxgsm.sh in the tmp dir.
 # Compare gameserver.sh against linuxgsm.sh in the tmp dir.
 # Ignoring server specific vars.
 # Ignoring server specific vars.
-echo -en "${dim}checking ${selfname} ...\c${default}"
+echo -en "checking ${selfname}...\c"
 fn_script_log_info "Checking ${selfname}"
 fn_script_log_info "Checking ${selfname}"
 script_diff=$(diff <(sed '\/shortname/d;\/gameservername/d;\/gamename/d;\/githubuser/d;\/githubrepo/d;\/githubbranch/d' "${tmpdir}/linuxgsm.sh") <(sed '\/shortname/d;\/gameservername/d;\/gamename/d;\/githubuser/d;\/githubrepo/d;\/githubbranch/d' "${rootdir}/${selfname}"))
 script_diff=$(diff <(sed '\/shortname/d;\/gameservername/d;\/gamename/d;\/githubuser/d;\/githubrepo/d;\/githubbranch/d' "${tmpdir}/linuxgsm.sh") <(sed '\/shortname/d;\/gameservername/d;\/gamename/d;\/githubuser/d;\/githubrepo/d;\/githubbranch/d' "${rootdir}/${selfname}"))
 if [ "${script_diff}" != "" ]; then
 if [ "${script_diff}" != "" ]; then