Explorar el Código

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

WillyPillow hace 3 años
padre
commit
9bedf50786
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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