From 3e5fe8e9cbb617c6f38b77e724ede66b362d8517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Wed, 3 Mar 2021 22:17:29 +0100 Subject: [PATCH] Be more verbose --- hbase-setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hbase-setup.sh b/hbase-setup.sh index 18e957d..2f684af 100755 --- a/hbase-setup.sh +++ b/hbase-setup.sh @@ -24,16 +24,19 @@ download() { if [ -f "$HBASE_FILE" ]; then CKSUM="$(sha512 -q ${HBASE_FILE})" if [ "$CKSUM" = "$HBASE_FILE_CKSUM" ]; then - echo "${1} exists." + printf "HBase archive exists\n" fi else + printf "Downloading ${1}\n" curl -LO ${1} fi + printf "Extracting archive\n" tar xfz ${HBASE_FILE} } create_config() { + printf "Writing config\n" cat < $1