aboutsummaryrefslogtreecommitdiffstats
path: root/packageinstall.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 17:02:20 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 17:02:20 -0500
commit276f6060d530e8e0f3fc63de9da7a08085eb7ad7 (patch)
treea7690cc2a3bd2fa8a138028ee2b673f4fe7f1fee /packageinstall.sh
parenta44fe6193ee4044724253992e9095fb04ddc5fca (diff)
Add spinner when extracting source.
Diffstat (limited to 'packageinstall.sh')
-rw-r--r--packageinstall.sh5
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