diff --git a/qubes-rpc/qvm-template-repo-query b/qubes-rpc/qvm-template-repo-query index d764fc6..08798dd 100755 --- a/qubes-rpc/qvm-template-repo-query +++ b/qubes-rpc/qvm-template-repo-query @@ -28,12 +28,10 @@ OPTS+=("--quiet") RET=0 if [ "$1" = "query" ]; then - # shellcheck disable=SC2068 - dnf repoquery ${OPTS[@]} --qf='%{name}:%{epoch}:%{version}:%{release}:%{reponame}:%{downloadsize}:%{summary}' "$SPEC" + dnf repoquery "${OPTS[@]}" --qf='%{name}:%{epoch}:%{version}:%{release}:%{reponame}:%{downloadsize}:%{summary}' "$SPEC" RET="$?" elif [ "$1" = "download" ]; then - # shellcheck disable=SC2068 - curl -L "$(dnf download ${OPTS[@]} --url "$SPEC" | shuf -n 1)" -o - + curl -L "$(dnf download "${OPTS[@]}" --url "$SPEC" | shuf -n 1)" -o - RET="$?" fi