qubes.Template*: Invoke curl with --silent.
This commit is contained in:
parent
686d0d3c12
commit
9bedf50786
@ -31,7 +31,7 @@ if [ "$1" = "query" ]; then
|
|||||||
dnf repoquery "${OPTS[@]}" --qf='%{name}|%{epoch}|%{version}|%{release}|%{reponame}|%{downloadsize}|%{buildtime}|%{license}|%{url}|%{summary}|%{description}|' "$SPEC"
|
dnf repoquery "${OPTS[@]}" --qf='%{name}|%{epoch}|%{version}|%{release}|%{reponame}|%{downloadsize}|%{buildtime}|%{license}|%{url}|%{summary}|%{description}|' "$SPEC"
|
||||||
RET="$?"
|
RET="$?"
|
||||||
elif [ "$1" = "download" ]; then
|
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="$?"
|
RET="$?"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user