diff options
author | mboelen <michael@cisofy.com> | 2016-04-28 10:15:54 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-04-28 10:15:54 +0300 |
commit | 9e312f5a5f2a1379a29151d8cb87cd22f387bc6c (patch) | |
tree | e33f24994327564c621802c4c2052f3685adbb8f /include/helper_update | |
parent | 5e587adf8a630383a207adfcc658c1fe6401977f (diff) |
Replaced functions and minor cleanups
Diffstat (limited to 'include/helper_update')
-rw-r--r-- | include/helper_update | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/helper_update b/include/helper_update index 4bc02758..064cbbf8 100644 --- a/include/helper_update +++ b/include/helper_update @@ -108,12 +108,12 @@ if [ "$1" = "release" ]; then Display --indent 2 --text "${CYAN}[Phase 1] Downloading details${NORMAL}" if [ ! "${WGET_EXISTS}" = "" ]; then - logtext "Using wget to download release information" + LogText "Using wget to download release information" LAST_COMMAND_HELP="wget --output-document ${TMP_FILE} ${FULLPATH}" wget --output-document ${TMP_FILE} ${FULLPATH} 2> /dev/null EXIT_CODE=$? elif [ ! "${CURL_EXISTS}" = "" ]; then - logtext "Using curl to download release information" + LogText "Using curl to download release information" LAST_COMMAND_HELP="curl --fail -o ${TMP_FILE} ${FULLPATH}" curl --fail -o ${TMP_FILE} ${FULLPATH} 2> /dev/null EXIT_CODE=$? @@ -166,12 +166,12 @@ if [ "$1" = "release" ]; then Display --indent 2 --text "[Phase 3] Downloading latest release" Display --indent 2 --text "Download location: ${FULLPATH}" if [ ! "${WGET_EXISTS}" = "" ]; then - logtext "Using wget to download latest release" + LogText "Using wget to download latest release" LAST_COMMAND_HELP="wget --output-document ${TMP_FILE} ${FULLPATH}" wget --output-document ${TMP_FILE} ${FULLPATH} 2> /dev/null EXIT_CODE=$? elif [ ! "${CURL_EXISTS}" = "" ]; then - logtext "Using curl to download latest release" + LogText "Using curl to download latest release" LAST_COMMAND_HELP="curl --fail -o ${TMP_FILE} ${FULLPATH}" curl --fail -o ${TMP_FILE} ${FULLPATH} 2> /dev/null EXIT_CODE=$? @@ -224,7 +224,7 @@ if [ "$1" = "release" ]; then fi # Removing temp file - logtext "Action: Removing temporary file ${TMP_FILE}" + LogText "Action: Removing temporary file ${TMP_FILE}" if [ "${TMP_FILE}" = "" ]; then if [ -f ${TMP_FILE} ]; then rm -f ${TMP_FILE} |