Reduce redirect count

This commit is contained in:
Reinhard Pointner 2017-06-02 21:32:52 +08:00
parent 2ebbc16435
commit 2728d6bf4e
1 changed files with 1 additions and 1 deletions

View File

@ -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"`