diff --git a/scripts/install.sh b/scripts/install.sh index 9c8d6a01..84b18b92 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -14,9 +14,6 @@ log() { SCRIPT_VERSION="0.2.0" REPO="shocknet/Lightning.Pub" BRANCH="master" -BASE_URL="https://raw.githubusercontent.com/${REPO}/${BRANCH}" -REPO_URL="https://github.com/${REPO}/tarball/${BRANCH}" -SCRIPTS_URL="${BASE_URL}/scripts/" cleanup() { log "Cleaning up temporary files..." @@ -55,6 +52,10 @@ while [[ $# -gt 0 ]]; do esac done +BASE_URL="https://raw.githubusercontent.com/${REPO}/${BRANCH}" +REPO_URL="https://github.com/${REPO}/tarball/${BRANCH}" +SCRIPTS_URL="${BASE_URL}/scripts/" + # Create user-space temp directory mkdir -p "$HOME/lightning_pub_tmp"