Browse Source

Added git_update variable to control the Git updates, it keeps fixing my local files since the hashes don't match.

pull/525/head
Jared Ballou 9 years ago
parent
commit
f36c1518f5
  1. 3
      Insurgency/insserver
  2. 3
      functions/github_hash.sh

3
Insurgency/insserver

@ -14,6 +14,9 @@ githubuser="jaredballou"
githubrepo="linuxgsm" githubrepo="linuxgsm"
githubbranch="master" githubbranch="master"
# Update stale files on the fly using Git
git_update=0
#### Variables #### #### Variables ####
# The name of this script file, used to show the LGSM link properly # The name of this script file, used to show the LGSM link properly

3
functions/github_hash.sh

@ -60,6 +60,9 @@ fn_get_github_manifest(){
# Check files against manifest # Check files against manifest
fn_check_github_files(){ fn_check_github_files(){
# Return unless turned on
if [ "${git_update}" != "1" ]; then return; fi
prefix=$1 prefix=$1
files=${@:2} files=${@:2}
fn_get_github_manifest fn_get_github_manifest

Loading…
Cancel
Save