Make output when downloading qemu images less verbose (#2217)

pull/2220/head
Gulshan Singh 2 years ago committed by GitHub
parent 440eeb428e
commit e847755316
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -14,7 +14,7 @@ download() {
hash_new=$(grep "${file}" "${OUT_DIR}/hashsums.txt") hash_new=$(grep "${file}" "${OUT_DIR}/hashsums.txt")
# only download file if it doesn't exist or its hashsum has changed # only download file if it doesn't exist or its hashsum has changed
if [ ! -f "${OUT_DIR}/${file}" ] || [ "${hash_new}" != "${hash_old}" ]; then if [ ! -f "${OUT_DIR}/${file}" ] || [ "${hash_new}" != "${hash_old}" ]; then
wget "${URL}/${file}" -O "${OUT_DIR}/${file}" wget --no-verbose --show-progress --progress=bar:force:noscroll "${URL}/${file}" -O "${OUT_DIR}/${file}"
fi fi
} }
@ -22,7 +22,7 @@ if [ -f "${OUT_DIR}/hashsums.txt" ]; then
mv -f "${OUT_DIR}/hashsums.txt" "${OUT_DIR}/hashsums.txt.old" mv -f "${OUT_DIR}/hashsums.txt" "${OUT_DIR}/hashsums.txt.old"
fi fi
wget "${URL}/hashsums.txt" -O "${OUT_DIR}/hashsums.txt" wget --no-verbose --show-progress --progress=bar:force:noscroll "${URL}/hashsums.txt" -O "${OUT_DIR}/hashsums.txt"
while read -r hash file; do while read -r hash file; do
echo "Downloading ${file}..." echo "Downloading ${file}..."

Loading…
Cancel
Save