From 4acf294caaebd290a37e539e12a0d3347fd54590 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 7 Jul 2018 19:08:14 -0600 Subject: [PATCH] show version as needed --- usr/share/install.sh | 3 +++ usr/share/install_helper.sh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/share/install.sh b/usr/share/install.sh index bb24048..33f0b44 100644 --- a/usr/share/install.sh +++ b/usr/share/install.sh @@ -74,6 +74,9 @@ export -f http_bash ## END HTTP_GET ## ############################### +if [ -n "${TELEBIT_VERSION:-}" ]; then + echo 'TELEBIT_VERSION='${TELEBIT_VERSION} +fi TELEBIT_VERSION=${TELEBIT_VERSION:-master} if [ -e "usr/share/install_helper.sh" ]; then bash usr/share/install_helper.sh "$@" diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 2007f37..9b8e16d 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -43,9 +43,6 @@ fi if [ -n "${TELEBIT_DEBUG:-}" ]; then echo 'TELEBIT_DEBUG='${TELEBIT_DEBUG} fi -if [ -n "${TELEBIT_VERSION:-}" ]; then - echo 'TELEBIT_VERSION='${TELEBIT_VERSION} -fi if [ -n "${TELEBIT_PATH:-}" ]; then echo 'TELEBIT_PATH='${TELEBIT_PATH} fi