qubes.Template*: Change separator from : to | and include additional metadata.
This commit is contained in:
parent
e91f2eb6f4
commit
686d0d3c12
@ -28,7 +28,7 @@ OPTS+=("--quiet")
|
|||||||
RET=0
|
RET=0
|
||||||
|
|
||||||
if [ "$1" = "query" ]; then
|
if [ "$1" = "query" ]; then
|
||||||
dnf repoquery "${OPTS[@]}" --qf='%{name}:%{epoch}:%{version}:%{release}:%{reponame}:%{downloadsize}:%{summary}' "$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 -L "$(dnf download "${OPTS[@]}" --url "$SPEC" | shuf -n 1)" -o -
|
||||||
|
Loading…
Reference in New Issue
Block a user