diff --git a/evince/Dockerfile b/evince/Dockerfile index 11a3730..ee5b710 100644 --- a/evince/Dockerfile +++ b/evince/Dockerfile @@ -11,7 +11,7 @@ FROM alpine:latest LABEL maintainer "Christian Koep " RUN apk --no-cache add \ - --repository https://dl-3.alpinelinux.org/alpine/edge/testing \ + --repository https://dl-3.alpinelinux.org/alpine/edge/community \ evince \ ttf-opensans diff --git a/latest-versions.sh b/latest-versions.sh index 5d38fec..cd61412 100755 --- a/latest-versions.sh +++ b/latest-versions.sh @@ -17,13 +17,13 @@ get_latest() { local repo=$1 local resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases/latest") - local tag=$(echo $resp | jq --raw-output .tag_name) - local name=$(echo $resp | jq --raw-output .name) + local tag=$(echo $resp | jq -e --raw-output .tag_name) + local name=$(echo $resp | jq -e --raw-output .name) if [[ "$tag" == "null" ]]; then # get the latest tag local resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/tags") - local tag=$(echo $resp | jq --raw-output .[0].name) + local tag=$(echo $resp | jq -e --raw-output .[0].name) fi if [[ "$name" == "null" ]] || [[ "$name" == "" ]]; then