use TELEBIT_VERSION

This commit is contained in:
AJ ONeal 2018-06-11 14:55:02 -06:00
parent f8c8701edc
commit fda4f14c79
1 changed files with 2 additions and 2 deletions

View File

@ -73,9 +73,9 @@ export -f http_bash
## END HTTP_GET ## ## END HTTP_GET ##
############################### ###############################
my_branch=master TELEBIT_VERSION=${TELEBIT_VERSION:-master}
if [ -e "usr/share/install_helper.sh" ]; then if [ -e "usr/share/install_helper.sh" ]; then
bash usr/share/install_helper.sh "$@" bash usr/share/install_helper.sh "$@"
else else
http_bash https://git.coolaj86.com/coolaj86/telebit.js/raw/branch/$my_branch/usr/share/install_helper.sh "$@" http_bash https://git.coolaj86.com/coolaj86/telebit.js/raw/branch/$TELEBIT_VERSION/usr/share/install_helper.sh "$@"
fi fi