|
|
@ -160,7 +160,7 @@ fn_bootstrap_fetch_file(){ |
|
|
|
fn_bootstrap_fetch_file_github(){ |
|
|
|
github_file_url_dir="${1}" |
|
|
|
github_file_url_name="${2}" |
|
|
|
# If master branch will currently running LinuxGSM version to prevent "version mixing". This is ignored if a fork. |
|
|
|
# If master branch will currently running LinuxGSM version to prevent "version mixing". This is ignored if a fork. |
|
|
|
if [ "${githubbranch}" == "master" ]&&[ "${githubuser}" == "GameServerManager" ]&&[ "${commandname}" != "UPDATE-LGSM" ]; then |
|
|
|
remote_fileurl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${version}/${github_file_url_dir}/${github_file_url_name}" |
|
|
|
remote_fileurl_backup="https://bitbucket.org/${githubuser}/${githubrepo}/raw/${version}/${github_file_url_dir}/${github_file_url_name}" |
|
|
|