From 2728d6bf4efccf3c0a24e2370d8b5f39ddd7a765 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 2 Jun 2017 21:32:52 +0800 Subject: [PATCH] Reduce redirect count --- installer/portable/update-filebot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/portable/update-filebot.sh b/installer/portable/update-filebot.sh index a0b5ac90..92845f88 100755 --- a/installer/portable/update-filebot.sh +++ b/installer/portable/update-filebot.sh @@ -24,7 +24,7 @@ cd "$WORKING_DIR" # update core application files PACKAGE_NAME="FileBot.jar.xz.gpg" PACKAGE_FILE="$APP_ROOT/$PACKAGE_NAME" -PACKAGE_URL="https://sourceforge.net/projects/filebot/files/filebot/HEAD/$PACKAGE_NAME" +PACKAGE_URL="https://downloads.sourceforge.net/filebot/filebot/HEAD/$PACKAGE_NAME" # check if file has changed PACKAGE_HASH_EXPECTED=`curl --silent --retry 5 "$PACKAGE_URL/list" | egrep -o "\b[a-z0-9]{32}\b"`