From 70c2c81efd14c490914c595fb1eae86d1881c78b Mon Sep 17 00:00:00 2001 From: Jared Ballou Date: Tue, 19 Jan 2016 04:07:46 -0500 Subject: [PATCH] More hash updates --- Insurgency/insserver | 2 +- functions/github_hash.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Insurgency/insserver b/Insurgency/insserver index f3b20839b..bc942f15a 100755 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -135,7 +135,7 @@ fn_getgithubfile(){ fi fn_colortext 32 "DONE" fi - if [ "${exec}" ]; then + if [ "${exec}" == "1" ]; then source "${filepath}" fi } diff --git a/functions/github_hash.sh b/functions/github_hash.sh index 067c1aca7..78ca52f23 100755 --- a/functions/github_hash.sh +++ b/functions/github_hash.sh @@ -30,7 +30,7 @@ fn_get_github_manifest(){ if [ ! -e "${cachedir}" ]; then mkdir -p "${cachedir}" fi - fn_getgithubfile "functions/jq-linux64" 1 + fn_getgithubfile "functions/jq-linux64" binary # Get latest commit from GitHub. Cache file for 60 minutes if [ -e $lastcommit_file ]; then if [ $(($(date +%s) - $(date -r ${lastcommit_file} +%s))) -gt 3600 ]; then