Skip to content

Commit

Permalink
update evince
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
  • Loading branch information
jessfraz committed Sep 18, 2017
1 parent a47e504 commit 0cd3e34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion evince/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FROM alpine:latest
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"

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

Expand Down
6 changes: 3 additions & 3 deletions latest-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cd3e34

Please sign in to comment.