diff options
-rw-r--r-- | packageinstall.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packageinstall.sh b/packageinstall.sh index bb6d230..97b1764 100644 --- a/packageinstall.sh +++ b/packageinstall.sh @@ -18,8 +18,9 @@ else fi mkdir -p "${DIRNAME}" - echo -e "${BLU}Extracting ${YLW}${CACHEFILE}" - tar -xf "${CACHEFILE}" -C "${DIRNAME}" + echo -ne "${BLU}Extracting ${YLW}${CACHEFILE}... " + tar -xf "${CACHEFILE}" -C "${DIRNAME}" & pid=$! + spinner "$pid" #TOPLEVELDIR = "tar -tf ${CACHEFILE} | sed -e 's@/.*@@' | uniq" pushd "${DIRNAME}" > /dev/null |