From 632aec829eff82cb8d8767f9ff334cabed9ef8a0 Mon Sep 17 00:00:00 2001 From: probonopd Date: Fri, 18 Aug 2017 19:49:51 +0200 Subject: [PATCH] Close #12 --- code/worker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/worker.sh b/code/worker.sh index 440b99b1..565d03f5 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -21,7 +21,7 @@ if [ "${URL:0:18}" == "https://github.com" ] ; then echo "GitHub URL detected" GHUSER=$(echo "$URL" | cut -d '/' -f 4) GHREPO=$(echo "$URL" | cut -d '/' -f 5) - GHURL="https://api.github.com/repos/$GHUSER/$GHREPO/releases/latest" + GHURL="https://api.github.com/repos/$GHUSER/$GHREPO/releases" # Not "/latest" due to https://github.com/AppImage/AppImageHub/issues/12 echo "URL from GitHub: $URL" fi @@ -39,7 +39,7 @@ fi # Download the file if it is not already there # This may get replaced by mounting the file with fuse httpfs # if we find an implementation that supports https -echo "URL : $URL" +echo "URL: $URL" FILENAME=$(basename $URL | cut -d '?' -f 1) echo $FILENAME if [ ! -e $FILENAME ] ; then