diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 12:16:39 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 12:16:39 -0500 |
commit | c7651e10b510157286effc055d6ce0c86d9e995c (patch) | |
tree | 15ab0fe8a45645a9f984892e9fe7a746c6a3dfa9 /packageinstall.sh | |
parent | dc161b4d4f5c37c2e72a953e639641b112fb68a0 (diff) | |
parent | 0f7d778bfe357bd031249165d69561a5f92a0d8a (diff) |
Merge branch 'cleanup' into chapter7
Diffstat (limited to 'packageinstall.sh')
-rw-r--r-- | packageinstall.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packageinstall.sh b/packageinstall.sh index 5105fbb..afd11a0 100644 --- a/packageinstall.sh +++ b/packageinstall.sh @@ -16,9 +16,9 @@ else # Remove existing if exists rm -rf "${DIRNAME}" - printf "%b" "${IBLU}Extracting ${YLW}${CACHEFILE}... " + printf "%b" "${IBLU}Extracting ${YLW}${CACHEFILE}... ${RST}" tar xf "${CACHEFILE}" > /dev/null 2>&1 & pid=$! - spinner "$pid" + spinner "$pid" "${SPINNER}" retval=$? if [ "$retval" -ne 0 ]; then printf "%b" "${GRN}Extraction ${RED}FAILED!${RST}\n" @@ -33,7 +33,7 @@ else mkdir -p "${LFS}/sources/log/chapter${CHAPTER}/" source "${LFS}/sources/chapter${CHAPTER}/${PACKAGE}.sh" 2>&1 > "${LFS}/sources/log/chapter${CHAPTER}/${PACKAGE}.log" 2>&1 & pid=$! - spinner "$pid" + spinner "$pid" "${SPINNER}" retval=$? if [ "$retval" -ne 0 ]; then printf "%b" "${RED}FAILED!${RST}\n" |