Browse Source

Attempt at fixing #1949

Fixes #1949 hopefully
pull/1950/head
UltimateByte 7 years ago
committed by GitHub
parent
commit
de7d264bf9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/functions/command_update_linuxgsm.sh

2
lgsm/functions/command_update_linuxgsm.sh

@ -43,7 +43,7 @@ if [ -z "${legacymode}" ]; then
fn_print_ok_eol_nl fn_print_ok_eol_nl
fi fi
echo -ne " checking ${selfname}...\c" echo -ne " checking ${selfname}...\c"
script_diff=$(diff <(sed '/shortname/d;/gameservername/d;/gamename/d' "${tmpdir}/linuxgsm.sh") <(sed '/shortname/d;/gameservername/d;/gamename/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
fn_print_update_eol_nl fn_print_update_eol_nl
echo -ne " backup ${selfname}...\c" echo -ne " backup ${selfname}...\c"

Loading…
Cancel
Save