1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00
filebot/installer/portable/update-filebot.sh

8 lines
315 B
Bash

#!/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"