From 9bedf507869995835d08c79071442c651b5f0eec Mon Sep 17 00:00:00 2001 From: WillyPillow Date: Wed, 29 Jul 2020 19:36:12 +0800 Subject: [PATCH] qubes.Template*: Invoke curl with --silent. --- qubes-rpc/qvm-template-repo-query | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/qvm-template-repo-query b/qubes-rpc/qvm-template-repo-query index 31ccfde..affb2c1 100755 --- a/qubes-rpc/qvm-template-repo-query +++ b/qubes-rpc/qvm-template-repo-query @@ -31,7 +31,7 @@ if [ "$1" = "query" ]; then dnf repoquery "${OPTS[@]}" --qf='%{name}|%{epoch}|%{version}|%{release}|%{reponame}|%{downloadsize}|%{buildtime}|%{license}|%{url}|%{summary}|%{description}|' "$SPEC" RET="$?" elif [ "$1" = "download" ]; then - curl -L "$(dnf download "${OPTS[@]}" --url "$SPEC" | shuf -n 1)" -o - + curl --silent -L "$(dnf download "${OPTS[@]}" --url "$SPEC" | shuf -n 1)" -o - RET="$?" fi