diff --git a/installer/portable/update-filebot.sh b/installer/portable/update-filebot.sh new file mode 100644 index 00000000..6f30b5e3 --- /dev/null +++ b/installer/portable/update-filebot.sh @@ -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"