From 0d693da6045db986ce1d1b992540cfadde63992c Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Mon, 8 Feb 2021 06:40:22 +0000 Subject: [PATCH] mirror: Disable progress bar when downloading thinlinc packages --- roles/mirror/thinlinc/files/sync-thinlinc-repo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/mirror/thinlinc/files/sync-thinlinc-repo b/roles/mirror/thinlinc/files/sync-thinlinc-repo index dbecda9..2638197 100755 --- a/roles/mirror/thinlinc/files/sync-thinlinc-repo +++ b/roles/mirror/thinlinc/files/sync-thinlinc-repo @@ -30,7 +30,7 @@ if [ ! -f "${REPODIR}/${PKGNAME}" ]; then # assume that server version goes in-line with client echo "Downloading server package:" - curl -o "${REPODIR}/.server.zip" "${BASEURL}/downloads/server/download.py" + curl -so "${REPODIR}/.server.zip" "${BASEURL}/downloads/server/download.py" echo "Extracting server rpm files:" unzip -jd ${REPODIR} ${REPODIR}/.server.zip \*.rpm echo "Cleaning up..." @@ -38,7 +38,7 @@ if [ ! -f "${REPODIR}/${PKGNAME}" ]; then echo "" echo "Downloading client rpm package:" - curl -o "${REPODIR}/${PKGNAME}" "${BASEURL}${LOCATION}" + curl -so "${REPODIR}/${PKGNAME}" "${BASEURL}${LOCATION}" echo "" echo "Updating repository metadata:" createrepo_c "${REPODIR}"