Browse Source

qubes.Template*: Invoke curl with --silent.

WillyPillow 3 years ago
parent
commit
9bedf50786
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubes-rpc/qvm-template-repo-query

+ 1 - 1
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