From 003e16b8c7db919c90aedd99262d26cbbf293637 Mon Sep 17 00:00:00 2001 From: Jaime Pillora Date: Thu, 5 Oct 2017 11:07:41 +1100 Subject: [PATCH] support .tgz --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index fff7432..39f56b8 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -79,7 +79,7 @@ function install { GZURL="$GH/releases/download/$RELEASE/$NAME" #gz download! bash -c "$GET $URL" | gzip -d - > $PROG || fail "download failed" - elif [[ $FTYPE = ".tar.gz" ]]; then + elif [[ $FTYPE = ".tar.gz" ]] || [[ $FTYPE = ".tgz" ]]; then #check if archiver progs installed which tar > /dev/null || fail "tar is not installed" which gzip > /dev/null || fail "gzip is not installed"