From 686d0d3c120b13424b46c05296125bfab49b0895 Mon Sep 17 00:00:00 2001 From: WillyPillow Date: Wed, 29 Jul 2020 19:35:37 +0800 Subject: [PATCH] qubes.Template*: Change separator from : to | and include additional metadata. --- 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 08798dd..31ccfde 100755 --- a/qubes-rpc/qvm-template-repo-query +++ b/qubes-rpc/qvm-template-repo-query @@ -28,7 +28,7 @@ OPTS+=("--quiet") RET=0 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="$?" elif [ "$1" = "download" ]; then curl -L "$(dnf download "${OPTS[@]}" --url "$SPEC" | shuf -n 1)" -o -