Browse Source

Attempt at fixing #1949

Fixes #1949 hopefully
UltimateByte 7 years ago
parent
commit
de7d264bf9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lgsm/functions/command_update_linuxgsm.sh

+ 2 - 2
lgsm/functions/command_update_linuxgsm.sh

@@ -43,7 +43,7 @@ if [ -z "${legacymode}" ]; then
 		fn_print_ok_eol_nl
 	fi
 	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
 		fn_print_update_eol_nl
 		echo -ne "    backup ${selfname}...\c"
@@ -114,4 +114,4 @@ else
 	fn_script_log_pass "Updating functions"
 fi
 echo -ne "\n"
-core_exit.sh
+core_exit.sh