use branch flag
This commit is contained in:
parent
25fb4da988
commit
3cfb6dfe37
1 changed files with 4 additions and 3 deletions
|
|
@ -14,9 +14,6 @@ log() {
|
||||||
SCRIPT_VERSION="0.2.0"
|
SCRIPT_VERSION="0.2.0"
|
||||||
REPO="shocknet/Lightning.Pub"
|
REPO="shocknet/Lightning.Pub"
|
||||||
BRANCH="master"
|
BRANCH="master"
|
||||||
BASE_URL="https://raw.githubusercontent.com/${REPO}/${BRANCH}"
|
|
||||||
REPO_URL="https://github.com/${REPO}/tarball/${BRANCH}"
|
|
||||||
SCRIPTS_URL="${BASE_URL}/scripts/"
|
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
log "Cleaning up temporary files..."
|
log "Cleaning up temporary files..."
|
||||||
|
|
@ -55,6 +52,10 @@ while [[ $# -gt 0 ]]; do
|
||||||
esac
|
esac
|
||||||
done
|
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
|
# Create user-space temp directory
|
||||||
mkdir -p "$HOME/lightning_pub_tmp"
|
mkdir -p "$HOME/lightning_pub_tmp"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue