Jelajahi Sumber

qubes.Template*: Change separator from : to | and include additional metadata.

WillyPillow 3 tahun lalu
induk
melakukan
686d0d3c12
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      qubes-rpc/qvm-template-repo-query

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