1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 00:08:51 -05:00

* added FileBot.jar auto-update script for Linux to portable package

This commit is contained in:
Reinhard Pointner 2014-03-26 07:06:39 +00:00
parent 1ca8de3ab7
commit 161d09e291

View File

@ -0,0 +1,7 @@
#!/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"