@@ -477,7 +477,7 @@ fn_fetch_file_github() {
477
477
remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${githubbranch} /${github_fileurl_dir} /${github_fileurl_name} "
478
478
remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${githubbranch} /${github_fileurl_dir} /${github_fileurl_name} "
479
479
# 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
481
481
remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
482
482
remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
483
483
else
@@ -499,7 +499,7 @@ fn_fetch_file_github() {
499
499
fn_check_file_github () {
500
500
github_fileurl_dir=" ${1} "
501
501
github_fileurl_name=" ${2} "
502
- if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManager " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
502
+ if [ " ${githubbranch} " == " master" ] && [ " ${githubuser} " == " GameServerManagers " ] && [ " ${commandname} " != " UPDATE-LGSM" ]; then
503
503
remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
504
504
remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
505
505
else
@@ -516,7 +516,7 @@ fn_fetch_config() {
516
516
github_fileurl_dir=" ${1} "
517
517
github_fileurl_name=" ${2} "
518
518
# 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
520
520
remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
521
521
remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
522
522
else
@@ -540,7 +540,7 @@ fn_fetch_function() {
540
540
github_fileurl_dir=" lgsm/functions"
541
541
github_fileurl_name=" ${functionfile} "
542
542
# 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
544
544
remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
545
545
remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
546
546
else
@@ -564,7 +564,7 @@ fn_update_function() {
564
564
github_fileurl_dir=" lgsm/functions"
565
565
github_fileurl_name=" ${functionfile} "
566
566
# 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
568
568
remote_fileurl=" https://raw.githubusercontent.com/${githubuser} /${githubrepo} /${version} /${github_fileurl_dir} /${github_fileurl_name} "
569
569
remote_fileurl_backup=" https://bitbucket.org/${githubuser} /${githubrepo} /raw/${version} /${github_fileurl_dir} /${github_fileurl_name} "
570
570
else
0 commit comments