diff --git a/Insurgency/insserver b/Insurgency/insserver index c1dd26a07..4254ce3c6 100755 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -14,6 +14,9 @@ githubuser="jaredballou" githubrepo="linuxgsm" githubbranch="master" +# Update stale files on the fly using Git +git_update=0 + #### Variables #### # The name of this script file, used to show the LGSM link properly diff --git a/functions/github_hash.sh b/functions/github_hash.sh index a722a6a60..fbc3fd1e6 100755 --- a/functions/github_hash.sh +++ b/functions/github_hash.sh @@ -60,6 +60,9 @@ fn_get_github_manifest(){ # Check files against manifest fn_check_github_files(){ + # Return unless turned on + if [ "${git_update}" != "1" ]; then return; fi + prefix=$1 files=${@:2} fn_get_github_manifest