1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 17:28:51 -05:00
filebot/installer/portable/update-filebot.sh

9 lines
333 B
Bash
Raw Normal View History

#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
INSTALL_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
2014-03-26 03:15:23 -04:00
JAR_FILE="$INSTALL_DIR/FileBot.jar"
echo "Update $JAR_FILE"
curl -L -o "$JAR_FILE" -z "$JAR_FILE" "http://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot.jar"