diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-24 11:36:26 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-24 11:37:01 -0500 |
commit | 75a9caa958cb26fa755b28cda777517fb17bae07 (patch) | |
tree | d5fc577ab67ba5c908e2f05e52d3c994efb5468d /download.sh | |
parent | fb719edbf7d47eedbe745352b90a8f69e2cb6dd9 (diff) |
Adjust indention again.
Diffstat (limited to 'download.sh')
-rw-r--r-- | download.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/download.sh b/download.sh index 3726b84..d816394 100644 --- a/download.sh +++ b/download.sh @@ -25,7 +25,7 @@ cat packages.csv patches.csv | while read -r line; do printf "%b" "${PRP}Downloading ${YLW}${CACHEFILE}${RST}... " #wget -nc ${URL} -O ${LFS}/sources/${CACHEFILE} --progress=dot -q --show-progress 2>&1 | awk 'NF>2 && $(NF-2) ~ /%/{printf "\r \t\t\t\t\t\t%s",$(NF-2)} END{print "\r "}' - download "${URL}" + download "${URL}" if ! echo "${MD5SUM} ${LFS}/sources/${CACHEFILE}" | md5sum -c > /dev/null 2>&1; then rm -f "${LFS}/sources/${CACHEFILE}" printf "%b" "\n${GRN}Verification of ${YLW}${CACHEFILE} ${RED}failed! MD5 mismatch!${RST}\n" |