1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-12 04:15:00 -05:00
filebot/installer/portable/update-filebot.sh

8 lines
315 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 )"
echo "Update $INSTALL_DIR/FileBot.jar"
curl -L -O -z "$INSTALL_DIR/FileBot.jar" "http://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot.jar"