@@ -477,7 +477,7 @@ fn_fetch_file_github() {
477477 remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${githubbranch} /${github_fileurl_dir} /${github_fileurl_name} "
478478 remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${githubbranch} /${github_fileurl_dir} /${github_fileurl_name} "
479479 # If master branch will currently running LinuxGSM version to prevent "version mixing". This is ignored if a fork.
480- elif [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManager " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
480+ elif [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManagers " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
481481 remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
482482 remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
483483 else
@@ -499,7 +499,7 @@ fn_fetch_file_github() {
499499fn_check_file_github () {
500500 github_fileurl_dir=" ${1} "
501501 github_fileurl_name=" ${2} "
502- if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManager " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
502+ if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManagers " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
503503 remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
504504 remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
505505 else
@@ -516,7 +516,7 @@ fn_fetch_config() {
516516 github_fileurl_dir=" ${1} "
517517 github_fileurl_name=" ${2} "
518518 # If master branch will currently running LinuxGSM version to prevent "version mixing". This is ignored if a fork.
519- if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManager " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
519+ if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManagers " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
520520 remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
521521 remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
522522 else
@@ -540,7 +540,7 @@ fn_fetch_function() {
540540 github_fileurl_dir=" lgsm/functions"
541541 github_fileurl_name=" ${functionfile} "
542542 # If master branch will currently running LinuxGSM version to prevent "version mixing". This is ignored if a fork.
543- if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManager " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
543+ if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManagers " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
544544 remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
545545 remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
546546 else
@@ -564,7 +564,7 @@ fn_update_function() {
564564 github_fileurl_dir=" lgsm/functions"
565565 github_fileurl_name=" ${functionfile} "
566566 # If master branch will currently running LinuxGSM version to prevent "version mixing". This is ignored if a fork.
567- if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManager " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
567+ if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManagers " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
568568 remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
569569 remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
570570 else
0 commit comments